Sha256: 6ba16740736945926e596b922f693610a5e46aa1a8e2cabc7bf9ea1ef24477af

Contents?: true

Size: 312 Bytes

Versions: 77

Compression:

Stored size: 312 Bytes

Contents

# This migration comes from tb_core (originally 20130620143010)
class CreateSpudRoles < ActiveRecord::Migration
  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

77 entries across 77 versions & 9 rubygems

Version Path
tb_blog-1.3.1 spec/dummy/db/migrate/20140110180411_create_spud_roles.tb_core.rb
tb_commerce-0.0.1 spec/dummy/db/migrate/20150323152918_create_spud_roles.tb_core.rb
tb_core-1.3.2 spec/dummy/db/migrate/20141214200809_create_spud_roles.tb_core.rb
tb_core-1.3.1 spec/dummy/db/migrate/20141214200809_create_spud_roles.tb_core.rb
tb_checkout-1.0.4 spec/dummy/db/migrate/20140915202264_create_spud_roles.tb_core.rb
tb_banners-1.2.0 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_cms-1.2.1 spec/dummy/db/migrate/20141231214451_create_spud_roles.tb_core.rb
tb_blog-1.3.0 spec/dummy/db/migrate/20140110180411_create_spud_roles.tb_core.rb
tb_cms-1.2.0 spec/dummy/db/migrate/20141231214451_create_spud_roles.tb_core.rb
tb_cms-1.2.0.beta3 spec/dummy/db/migrate/20141231214451_create_spud_roles.tb_core.rb
tb_banners-1.1.6 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_core-1.3.0 spec/dummy/db/migrate/20141214200809_create_spud_roles.tb_core.rb
tb_blog-1.3.0.beta1 spec/dummy/db/migrate/20140110180411_create_spud_roles.tb_core.rb
tb_banners-1.2.0.beta1 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_cms-1.2.0.beta1 spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb
tb_cms-1.1.5 spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb
tb_blog-1.2.1 spec/dummy/db/migrate/20140110180411_create_spud_roles.tb_core.rb
tb_checkout-1.0.3 spec/dummy/db/migrate/20140915202264_create_spud_roles.tb_core.rb
tb_blog-1.2.0 spec/dummy/db/migrate/20140110180411_create_spud_roles.tb_core.rb
tb_cms-1.1.4 spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb