Matchu
fcf3292448
I'm not sure it's literally true that they were all built against Rails 3.2, but that's what it was at before we upgraded, and like. that's probably fine
11 lines
262 B
Ruby
11 lines
262 B
Ruby
class CreateCampaigns < ActiveRecord::Migration[3.2]
|
|
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
|