catstodon/db/migrate/20170330163835_create_imports.rb

13 lines
268 B
Ruby

# frozen_string_literal: true
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