Sha256: 635549ac2bf5589c5bf1f9b0966bc4bddabe7f1e5d2a743b7bebd75686c62f82
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_seed-0.3.0.beta.1 | spec/dummy/db/migrate/20130506175834_create_identifiers.rb |