Sha256: d5296a0f55bb8da3c15d0d90394543da18043e1a4612398808027c61ac59983e

Contents?: true

Size: 427 Bytes

Versions: 10

Compression:

Stored size: 427 Bytes

Contents

# This migration comes from tb_core (originally 20130620151132)
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

10 entries across 10 versions & 3 rubygems

Version Path
tb_banners-1.3.2 spec/dummy/db/migrate/20130920154444_create_spud_role_permissions.tb_core.rb
tb_cms-1.3.6 spec/dummy/db/migrate/20141231214453_create_spud_role_permissions.tb_core.rb
tb_banners-1.3.1 spec/dummy/db/migrate/20130920154444_create_spud_role_permissions.tb_core.rb
tb_cms-1.3.5 spec/dummy/db/migrate/20141231214453_create_spud_role_permissions.tb_core.rb
tb_redirects-1.0.3 spec/dummy/db/migrate/20160211160621_create_spud_role_permissions.tb_core.rb
tb_cms-1.3.3 spec/dummy/db/migrate/20141231214453_create_spud_role_permissions.tb_core.rb
tb_redirects-1.0.2 spec/dummy/db/migrate/20160211160621_create_spud_role_permissions.tb_core.rb
tb_cms-1.3.2 spec/dummy/db/migrate/20141231214453_create_spud_role_permissions.tb_core.rb
tb_cms-1.3.1 spec/dummy/db/migrate/20141231214453_create_spud_role_permissions.tb_core.rb
tb_redirects-1.0.1 spec/dummy/db/migrate/20160211160621_create_spud_role_permissions.tb_core.rb