socialforge/db/migrate/20160727020247_create_appli...

14 lines
315 B
Ruby
Raw Normal View History

2016-07-27 10:46:48 +08:00
class CreateAppliedMessages < ActiveRecord::Migration
def change
create_table :applied_messages do |t|
t.integer :user_id
t.integer :applied_id
t.string :applied_type
t.integer :viewed, :default => false
t.integer :status, :default => false
t.timestamps
end
end
end