Sha256: 4984729edb3370e1fb26f0c0289f2f1163b4890262b47642cc94c1bc08cf6c25

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

class CreateRoles < ActiveRecord::Migration[5.0]
  def change
    create_table 'roles' do |t|
      t.string :name, null: false
      t.jsonb :display_name_translations
      t.text :note
      t.timestamps
      t.integer :score, default: 0, null: false
      t.integer :position
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 db/migrate/041_create_roles.rb
enju_seed-0.3.0.beta.3 db/migrate/041_create_roles.rb