1
0
Fork 0
forked from OpenNeo/impress
impress/db/migrate/20140910204019_create_campaigns.rb
2014-09-11 17:40:37 -05:00

11 lines
257 B
Ruby

class CreateCampaigns < ActiveRecord::Migration
def change
create_table :campaigns do |t|
t.integer :progress, null: false, default: 0
t.integer :goal, null: false
t.boolean :active, null: false
t.timestamps
end
end
end