Sha256: b15c37c90f72a5d1df26f18c713c497c1ded284eb81bca02888f9da146a5e88c
Contents?: true
Size: 303 Bytes
Versions: 5
Compression:
Stored size: 303 Bytes
Contents
class CreateApis < ActiveRecord::Migration[6.0] 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 end
Version data entries
5 entries across 5 versions & 2 rubygems