parent
b8bc32c127
commit
98d533e8f9
@ -1,16 +1,9 @@
|
|||||||
class CreateUserActivity < ActiveRecord::Migration
|
class CreateUserActivity < ActiveRecord::Migration
|
||||||
def up
|
def up
|
||||||
create_table :user_activities do |t|
|
|
||||||
t.string :act_type
|
|
||||||
t.integer :act_id
|
|
||||||
t.string :container_type
|
|
||||||
t.integer :container_id
|
|
||||||
|
|
||||||
t.timestamps
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
drop_table :user_activities
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue