Sha256: 0b90d3026a31aefc1ee822b0695967c063661dbe59d18d170127fc5816303532

Contents?: true

Size: 307 Bytes

Versions: 275

Compression:

Stored size: 307 Bytes

Contents

class CreateCreates < ActiveRecord::Migration
  def change
    create_table :creates do |t|
      t.references :patron, :null => false
      t.references :work, :null => false
      t.integer :position
      t.timestamps
    end
    add_index :creates, :patron_id
    add_index :creates, :work_id
  end
end

Version data entries

275 entries across 275 versions & 14 rubygems

Version Path
enju_subject-0.1.0.pre13 spec/dummy/db/migrate/015_create_creates.rb
enju_flower-0.1.0.pre6 spec/dummy/db/migrate/015_create_creates.rb
enju_biblio-0.1.0.pre36 db/migrate/015_create_creates.rb
enju_biblio-0.1.0.pre35 db/migrate/015_create_creates.rb
enju_biblio-0.1.0.pre34 db/migrate/015_create_creates.rb
enju_circulation-0.1.0.pre23 spec/dummy/db/migrate/015_create_creates.rb
enju_flower-0.1.0.pre5 spec/dummy/db/migrate/015_create_creates.rb
enju_biblio-0.1.0.pre33 db/migrate/015_create_creates.rb
enju_biblio-0.1.0.pre32 db/migrate/015_create_creates.rb
enju_circulation-0.1.0.pre22 spec/dummy/db/migrate/015_create_creates.rb
enju_leaf-1.1.0.rc1 spec/dummy/db/migrate/015_create_creates.rb
enju_resource_merge-0.1.0.pre7 spec/dummy/db/migrate/015_create_creates.rb
enju_bookmark-0.1.2.pre11 spec/dummy/db/migrate/015_create_creates.rb
enju_flower-0.1.0.pre4 spec/dummy/db/migrate/015_create_creates.rb
enju_oai-0.1.0.pre9 spec/dummy/db/migrate/015_create_creates.rb
enju_nii-0.1.0.pre8 spec/dummy/db/migrate/015_create_creates.rb
enju_library-0.1.0.pre21 spec/dummy/db/migrate/015_create_creates.rb
enju_circulation-0.1.0.pre21 spec/dummy/db/migrate/015_create_creates.rb
enju_event-0.1.17.pre12 spec/dummy/db/migrate/015_create_creates.rb
enju_ndl-0.1.0.pre15 spec/dummy/db/migrate/015_create_creates.rb