Sha256: 5545019583df4f84ca59cdaea5bd0c3e02da812819b0fc17293d12f23f268f67

Contents?: true

Size: 252 Bytes

Versions: 10

Compression:

Stored size: 252 Bytes

Contents

class CreateColors < ActiveRecord::Migration[5.2]
  def change
    create_table :colors do |t|
      t.references :library_group, index: true
      t.string :property
      t.string :code
      t.integer :position

      t.timestamps
    end
  end
end

Version data entries

10 entries across 10 versions & 10 rubygems

Version Path
enju_inventory-0.4.0.rc.1 spec/dummy/db/migrate/20140821151023_create_colors.rb
enju_ndl-0.4.0.rc.1 spec/dummy/db/migrate/20140821151023_create_colors.rb
enju_circulation-0.4.0.rc.1 spec/dummy/db/migrate/20140821151023_create_colors.rb
enju_manifestation_viewer-0.4.0.rc.1 spec/dummy/db/migrate/20140821151023_create_colors.rb
enju_subject-0.4.0.rc.1 spec/dummy/db/migrate/20140821151023_create_colors.rb
enju_event-0.4.0.rc.1 spec/dummy/db/migrate/20140821151023_create_colors.rb
enju_message-0.4.0.rc.1 spec/dummy/db/migrate/20140821151023_create_colors.rb
enju_biblio-0.4.0.rc.1 spec/dummy/db/migrate/20140821151023_create_colors.rb
enju_library-0.4.0.rc.1 db/migrate/20140821151023_create_colors.rb
enju_seed-0.4.0.rc.2 spec/dummy/db/migrate/20140821151023_create_colors.rb