glitchier-soc/db/migrate/20170330163835_create_imports.rb

12 lines
237 B
Ruby
Raw Normal View History

class CreateImports < ActiveRecord::Migration[5.0]
def change
create_table :imports do |t|
t.integer :account_id, null: false
t.integer :type, null: false
t.boolean :approved
t.timestamps
end
end
end