Sha256: 9b4d60cf8569824ae36b44c29b5375c927d7e7803e097c306dfedae0b10564a2
Contents?: true
Size: 369 Bytes
Versions: 14
Compression:
Stored size: 369 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] end end
Version data entries
14 entries across 14 versions & 6 rubygems