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-3.0.4 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-3.0.3 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-3.0.0 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.4.0 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.3.9 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.3.8 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.3.7 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.3.6 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.3.5 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.3.4 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.3.3 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.3.2 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.3.1 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.3.0 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-0 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.2.9 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.2.8 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.2.6 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.2.5 db/migrate/20200306152740_create_roles.rb
thecore_auth_commons-2.2.2 db/migrate/20200306152740_create_roles.rb