17 lines
338 B
Ruby
17 lines
338 B
Ruby
# -*- encoding : utf-8 -*-
|
|
class CreateDynamicContents < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :dynamic_contents do |t|
|
|
t.string :name
|
|
|
|
t.timestamps
|
|
end
|
|
|
|
# ContentType.create(:slug => "DynamicContent", :name => "Contenu dynamique")
|
|
end
|
|
|
|
def self.down
|
|
drop_table :dynamic_contents
|
|
end
|
|
end
|