Sha256: 0705f056168991b52d63505aa1597e97077e0f5f7eb604a3284898618e5f3845
Contents?: true
Size: 414 Bytes
Versions: 141
Compression:
Stored size: 414 Bytes
Contents
class CreateIdentifiers < ActiveRecord::Migration[4.2] def change create_table :identifiers do |t| t.string :body, null: false t.integer :identifier_type_id, null: false t.integer :manifestation_id t.boolean :primary t.integer :position t.timestamps end add_index :identifiers, [:body, :identifier_type_id] add_index :identifiers, :manifestation_id end end
Version data entries
141 entries across 141 versions & 19 rubygems