Sha256: 667994f618295d40072e30887cae9d2a5f2109f816446ec9c1292e256b60dc28

Contents?: true

Size: 369 Bytes

Versions: 12

Compression:

Stored size: 369 Bytes

Contents

class CreateSpudRolePermissions < ActiveRecord::Migration[4.2]
  def change
    create_table :spud_role_permissions do |t|
      t.integer :spud_role_id, :null => false
      t.string :spud_permission_tag, :null => false
      t.timestamps
    end
    add_index :spud_role_permissions, :spud_role_id
    add_index :spud_role_permissions, :spud_permission_tag
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
tb_core-1.5.4 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.5.3 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.5.2 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.5.1 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.4.3.1 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.5.0 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.4.8 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.4.7 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.4.6 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.4.5 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.4.4 db/migrate/20130620151132_create_spud_role_permissions.rb
tb_core-1.4.3 db/migrate/20130620151132_create_spud_role_permissions.rb