Sha256: 2ab86330b5b8eadca33555d078d63ade48a54dfc7def9e7c1abd58da7cb5bec5
Contents?: true
Size: 420 Bytes
Versions: 8
Compression:
Stored size: 420 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
8 entries across 8 versions & 5 rubygems