Sha256: f3b3f7726b77787539a8f6878db90f86ce0123c7e68d87dd8b75a63d435750bb

Contents?: true

Size: 317 Bytes

Versions: 10

Compression:

Stored size: 317 Bytes

Contents

# This migration comes from tb_core (originally 20130620143010)
class CreateSpudRoles < ActiveRecord::Migration[4.2]
  def change
    create_table :spud_roles do |t|
      t.string :name
      t.timestamps
    end
    add_column :spud_users, :spud_role_id, :integer
    add_index :spud_users, :spud_role_id
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
tb_banners-1.3.2 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_cms-1.3.6 spec/dummy/db/migrate/20141231214451_create_spud_roles.tb_core.rb
tb_banners-1.3.1 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_cms-1.3.5 spec/dummy/db/migrate/20141231214451_create_spud_roles.tb_core.rb
tb_redirects-1.0.3 spec/dummy/db/migrate/20160211160619_create_spud_roles.tb_core.rb
tb_cms-1.3.3 spec/dummy/db/migrate/20141231214451_create_spud_roles.tb_core.rb
tb_redirects-1.0.2 spec/dummy/db/migrate/20160211160619_create_spud_roles.tb_core.rb
tb_cms-1.3.2 spec/dummy/db/migrate/20141231214451_create_spud_roles.tb_core.rb
tb_cms-1.3.1 spec/dummy/db/migrate/20141231214451_create_spud_roles.tb_core.rb
tb_redirects-1.0.1 spec/dummy/db/migrate/20160211160619_create_spud_roles.tb_core.rb