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

12 lines
262 B
Ruby
Raw Permalink Normal View History

class CreateCampaigns < ActiveRecord::Migration[4.2]
2014-09-11 15:40:37 -07:00
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