16 lines
283 B
Ruby
16 lines
283 B
Ruby
class CreatePageIncludes < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :page_includes do |t|
|
|
t.string :path
|
|
t.string :description
|
|
t.text :inklude
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
def self.down
|
|
drop_table :page_includes
|
|
end
|
|
end
|