Sha256: c596db5a8517df83891e2ff94cd9dd91fd2c78735575c3e15455bb976160fac1

Contents?: true

Size: 253 Bytes

Versions: 12

Compression:

Stored size: 253 Bytes

Contents

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

12 entries across 12 versions & 1 rubygems

Version Path
tb_core-1.5.4 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.5.3 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.5.2 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.5.1 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.4.3.1 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.5.0 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.4.8 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.4.7 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.4.6 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.4.5 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.4.4 db/migrate/20130620143010_create_spud_roles.rb
tb_core-1.4.3 db/migrate/20130620143010_create_spud_roles.rb