Sha256: fba126467abf2175b1b720a52c8f5cf3b643205b40700d6acf21ab4e3894da30
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 Bytes
Contents
# This migration comes from sc_core (originally 20151012063021) # This migration comes from sc_core (originally 20151012062004) class CreateScCoreRoles < ActiveRecord::Migration def change create_table :sc_core_roles do |t| t.string :identifier, null: false t.string :name, null: false t.integer :created_by t.integer :updated_by t.timestamps null: false end add_index :sc_core_roles, :identifier ScCore::Role.create!( identifier: :client_admin, name: 'client administrator' ) ScCore::Role.create!( identifier: :user, name: 'user' ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sc_core-0.0.7 | test/dummy/db/migrate/20151012145213_create_sc_core_roles.sc_core.rb |