Sha256: 893fa9c6425c0706033f08687045f17e1022025982f180bd491594a7e88a06f2

Contents?: true

Size: 246 Bytes

Versions: 10

Compression:

Stored size: 246 Bytes

Contents

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

      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/20171126072934_create_ndla_records.rb
enju_biblio-0.4.0.rc.1 spec/dummy/db/migrate/20171126072934_create_ndla_records.rb
enju_library-0.4.0.rc.1 spec/dummy/db/migrate/20171126072934_create_ndla_records.rb
enju_library-0.4.0.beta.4 spec/dummy/db/migrate/20171126072934_create_ndla_records.rb
enju_biblio-0.4.0.beta.2 spec/dummy/db/migrate/20171126072934_create_ndla_records.rb
enju_library-0.4.0.beta.3 spec/dummy/db/migrate/20171126072934_create_ndla_records.rb
enju_library-0.4.0.beta.2 spec/dummy/db/migrate/20171126072934_create_ndla_records.rb
enju_ndl-0.4.0.beta.1 db/migrate/20171126072934_create_ndla_records.rb
enju_biblio-0.4.0.beta.1 spec/dummy/db/migrate/20171126072934_create_ndla_records.rb
enju_library-0.4.0.beta.1 spec/dummy/db/migrate/20171126072934_create_ndla_records.rb