Sha256: 8e2f12e6b1399380d72f3ec1d7a0139e14bf7460fcc3b4a5198e8d6925021b90

Contents?: true

Size: 180 Bytes

Versions: 26

Compression:

Stored size: 180 Bytes

Contents

class CreateRoles < ActiveRecord::Migration[6.0]
  def change
    create_table :roles do |t|
      t.string :name

      t.timestamps
    end
    add_index :roles, :name
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
thecore_auth_commons-2.2.1 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.2.0 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.1.9 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.1.8 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.1.7 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.1.5 db/migrate/20200306152740_create_roles.rb