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.4.4 spec/dummy/db/migrate/20161020155430_create_spud_roles.tb_core.rb
tb_media-1.3.2 spec/dummy/db/migrate/20151012194530_create_spud_roles.tb_core.rb
tb_blog-1.4.3 spec/dummy/db/migrate/20161020155430_create_spud_roles.tb_core.rb
tb_blog-1.4.2 spec/dummy/db/migrate/20161020155430_create_spud_roles.tb_core.rb
tb_media-1.3.1 spec/dummy/db/migrate/20151012194530_create_spud_roles.tb_core.rb
tb_redirects-1.0 spec/dummy/db/migrate/20160211160619_create_spud_roles.tb_core.rb
tb_blog-1.3.5 spec/dummy/db/migrate/20161020155430_create_spud_roles.tb_core.rb
tb_cms-1.3.0 spec/dummy/db/migrate/20141231214451_create_spud_roles.tb_core.rb
tb_media-1.3.0 spec/dummy/db/migrate/20151012194530_create_spud_roles.tb_core.rb
tb_blog-1.4.1 spec/dummy/db/migrate/20161020155430_create_spud_roles.tb_core.rb
tb_blog-1.4.0 spec/dummy/db/migrate/20161020155430_create_spud_roles.tb_core.rb
tb_cms-1.3.beta1 spec/dummy/db/migrate/20141231214451_create_spud_roles.tb_core.rb
tb_media-1.3.beta1 spec/dummy/db/migrate/20151012194530_create_spud_roles.tb_core.rb
tb_banners-1.3.beta1 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_blog-1.3.4 spec/dummy/db/migrate/20161020155430_create_spud_roles.tb_core.rb
tb_blog-1.4.beta1 spec/dummy/db/migrate/20161020155430_create_spud_roles.tb_core.rb
tb_redirects-1.0.beta1 spec/dummy/db/migrate/20160211160619_create_spud_roles.tb_core.rb
tb_core-1.3.10 spec/dummy/db/migrate/20141214200809_create_spud_roles.tb_core.rb
tb_core-1.3.9 spec/dummy/db/migrate/20141214200809_create_spud_roles.tb_core.rb
tb_checkout-1.1.1 spec/dummy/db/migrate/20140915202264_create_spud_roles.tb_core.rb