class CreateApis

typed: true

Public Instance Methods

change() click to toggle source
# File server/redux-os/db/migrate/20190828104427_create_apis.rb, line 3
def change
  create_table :apis do |t|
    t.text :rfc
    t.integer :rftrolling_foreign_key
    t.references :code, null: false, foreign_key: true

    t.timestamps
  end
  add_index :apis, :rftrolling_foreign_key, unique: true
end