parent
b8bc32c127
commit
98d533e8f9
@ -1,16 +1,9 @@
|
||||
class CreateUserActivity < ActiveRecord::Migration
|
||||
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
|
||||
|
||||
def down
|
||||
drop_table :user_activities
|
||||
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in new issue