Sha256: ac75384fa0fd709e5bbc6bf2b681962520c5c70e35dadbe5fafa118a6be3ebad

Contents?: true

Size: 277 Bytes

Versions: 10

Compression:

Stored size: 277 Bytes

Contents

class CreateNdlBibIdRecords < ActiveRecord::Migration[5.2]
  def change
    create_table :ndl_bib_id_records do |t|
      t.string :body, index: {unique: true}, null: false
      t.references :manifestation, foreign_key: true, null: false

      t.timestamps
    end
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
enju_ndl-0.4.0.rc.1 db/migrate/20190501043418_create_ndl_bib_id_records.rb
enju_biblio-0.4.0.rc.1 spec/dummy/db/migrate/20190501043418_create_ndl_bib_id_records.rb
enju_library-0.4.0.rc.1 spec/dummy/db/migrate/20190501043418_create_ndl_bib_id_records.rb
enju_library-0.4.0.beta.4 spec/dummy/db/migrate/20190501043418_create_ndl_bib_id_records.rb
enju_biblio-0.4.0.beta.2 spec/dummy/db/migrate/20190501043418_create_ndl_bib_id_records.rb
enju_library-0.4.0.beta.3 spec/dummy/db/migrate/20190501043418_create_ndl_bib_id_records.rb
enju_library-0.4.0.beta.2 spec/dummy/db/migrate/20190501043418_create_ndl_bib_id_records.rb
enju_ndl-0.4.0.beta.1 db/migrate/20190501043418_create_ndl_bib_id_records.rb
enju_biblio-0.4.0.beta.1 spec/dummy/db/migrate/20190501043418_create_ndl_bib_id_records.rb
enju_library-0.4.0.beta.1 spec/dummy/db/migrate/20190501043418_create_ndl_bib_id_records.rb