Sha256: 2dbb7258ed24574cf0b588740d3c5a90c4fbfe11f1aacfd9db79bd724ee41da8

Contents?: true

Size: 371 Bytes

Versions: 8

Compression:

Stored size: 371 Bytes

Contents

class CreateRoles < ActiveRecord::Migration[5.2]
  def change
    create_table "roles" do |t|
      t.column :name, :string, null: false
      t.column :display_name, :string
      t.column :note, :text
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
      t.integer :score, default: 0, null: false
      t.integer :position
    end
  end
end

Version data entries

8 entries across 8 versions & 8 rubygems

Version Path
enju_inventory-0.4.0.rc.1 spec/dummy/db/migrate/041_create_roles.rb
enju_ndl-0.4.0.rc.1 spec/dummy/db/migrate/041_create_roles.rb
enju_circulation-0.4.0.rc.1 spec/dummy/db/migrate/041_create_roles.rb
enju_manifestation_viewer-0.4.0.rc.1 spec/dummy/db/migrate/041_create_roles.rb
enju_subject-0.4.0.rc.1 spec/dummy/db/migrate/041_create_roles.rb
enju_event-0.4.0.rc.1 spec/dummy/db/migrate/041_create_roles.rb
enju_message-0.4.0.rc.1 spec/dummy/db/migrate/041_create_roles.rb
enju_seed-0.4.0.rc.2 db/migrate/041_create_roles.rb