Sha256: ed98450f5786c20054c1981288820222bf3db2a6c39688b424b4d16f3a9663f8
Contents?: true
Size: 373 Bytes
Versions: 20
Compression:
Stored size: 373 Bytes
Contents
class CreateQaLocalAuthorityEntries < ActiveRecord::Migration[5.1] def change create_table :qa_local_authority_entries do |t| t.references :local_authority, foreign_key: { to_table: :qa_local_authorities }, index: true t.string :label t.string :uri t.timestamps end add_index :qa_local_authority_entries, :uri, unique: true end end
Version data entries
20 entries across 20 versions & 1 rubygems