Sha256: 82d8a6a0883a762eb94a4c1cee0e7039c38a39e354d8c48935aff68fc89bf573
Contents?: true
Size: 415 Bytes
Versions: 396
Compression:
Stored size: 415 Bytes
Contents
class CreateIdentifiers < ActiveRecord::Migration 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
396 entries across 388 versions & 22 rubygems