Sha256: fe36c735cdda7a4dd01ff7bd4d2884cce657554c9fe5ce4c26b7f200dd29d62e

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

class CreateLibraryGroups < ActiveRecord::Migration[5.1]
  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

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.4.0.beta.1 spec/dummy/db/migrate/080_create_library_groups.rb