Send this to a friend
1 create_table :table do |t|
2 t.column
3 t.index
4 t.timestamps
5 t.change
6 t.change_default
7 t.rename
8 t.references
9 t.belongs_to
10 t.string
11 t.text
12 t.integer
13 t.float
14 t.decimal
15 t.datetime
16 t.timestamp
17 t.time
18 t.date
19 t.binary
20 t.boolean
21 t.remove
22 t.remove_references
23 t.remove_belongs_to
24 t.remove_index
25 t.remove_timestamps
26 end
create_table :table do |t|
t.column
t.index
t.timestamps
t.change
t.change_default
t.rename
t.references
t.belongs_to
t.string
t.text
t.integer
t.float
t.decimal
t.datetime
t.timestamp
t.time
t.date
t.binary
t.boolean
t.remove
t.remove_references
t.remove_belongs_to
t.remove_index
t.remove_timestamps
end