Sha256: 737b2ba73b1072b9c4461e2c2efccf532bb231d2cec1e10bbe178649e254c41e

Contents?: true

Size: 359 Bytes

Versions: 13

Compression:

Stored size: 359 Bytes

Contents

class CreateMyAdminGroupPermissions < ActiveRecord::Migration
  def change
    create_table :my_admin_group_permissions do |t|
      t.integer :permission_id
      t.integer :group_id
      t.timestamps
    end
    add_index :my_admin_group_permissions, [:permission_id, :group_id], :unique => true, :name => 'my_admin_group_permissions_index'
    
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
my_admin-0.1.13 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.12 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.11 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.10 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.9 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.8 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.7 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.6 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.5 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.4 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.3 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.2 db/migrate/20151128152449_create_my_admin_group_permissions.rb
my_admin-0.1.1 db/migrate/20151128152449_create_my_admin_group_permissions.rb