Sha256: bd499c353117f42700ddd9cf651c322208ab55ddc302937c1e6f60bf589a2adc

Contents?: true

Size: 449 Bytes

Versions: 2

Compression:

Stored size: 449 Bytes

Contents

class CreateLibraryGroups < ActiveRecord::Migration[5.0]
  def change
    create_table :library_groups do |t|
      t.string :name, index: {unique: true}, null: false
      t.jsonb :display_name_translations
      t.string :short_name, index: {unique: true}, null: false
      t.cidr :my_networks
      t.jsonb :login_banner_translations
      t.text :note
      t.integer :country_id
      t.integer :position

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 spec/dummy/db/migrate/080_create_library_groups.rb
enju_seed-0.3.0.beta.3 spec/dummy/db/migrate/080_create_library_groups.rb