Sha256: 8111a81e886476dc8bcb094dc84be82eda64fb530386dd45a35605c608c1829c

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

class CreateLibraryGroups < ActiveRecord::Migration
  def change
    create_table :library_groups do |t|
      t.string :name, null: false
      t.text :display_name
      t.string :short_name, null: false
      t.text :my_networks
      t.text :login_banner
      t.text :note
      t.integer :country_id
      t.integer :position

      t.timestamps
    end
    add_index :library_groups, :short_name
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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