catstodon/db/migrate/20170330163835_create_imports.rb

11 lines
237 B
Ruby

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