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_banners-1.1.5 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_banners-1.1.4 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_banners-1.1.3 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_blog-1.1.3 spec/dummy/db/migrate/20140110180411_create_spud_roles.tb_core.rb
tb_banners-1.1.2 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_cms-1.1.3 spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb
tb_cms-1.1.2 spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb
tb_inquiries-1.0.1 spec/dummy/db/migrate/20140109151036_create_spud_roles.tb_core.rb
tb_blog-1.1.2 spec/dummy/db/migrate/20140110180411_create_spud_roles.tb_core.rb
tb_cms-1.1.1 spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb
tb_banners-1.1.1 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_blog-1.1.1 spec/dummy/db/migrate/20140110180411_create_spud_roles.tb_core.rb
tb_inquiries-1.0.0 spec/dummy/db/migrate/20140109151036_create_spud_roles.tb_core.rb
tb_cms-1.1.0 spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb
tb_blog-1.1.0 spec/dummy/db/migrate/20140110180411_create_spud_roles.tb_core.rb
tb_banners-1.1 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
tb_banners-1.0.2 spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb