blob: 6a38038cbe33a94af6fc07e107f9f5af78804e04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class CreatePages < ActiveRecord::Migration
def self.up
create_table :pages do |t|
t.integer :node_id
t.integer :revision
t.timestamps
end
Page.create_translation_table! :title => :string, :abstract => :text, :body => :text
end
def self.down
drop_table :pages
end
end
|