1
0
Fork 0
forked from OpenNeo/impress
impress/db/migrate/20140910204019_create_campaigns.rb

12 lines
257 B
Ruby
Raw Normal View History

2014-09-11 15:40:37 -07:00
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