Sha256: b6c3cdc42cd88fc62f588182fa3cbc88164096618ce4c35c835158ba64c57ae7

Contents?: true

Size: 334 Bytes

Versions: 10

Compression:

Stored size: 334 Bytes

Contents

# This migration comes from tb_core (originally 20130620143941)
class CreateSpudPermissions < ActiveRecord::Migration[4.2]
  def change
    create_table :spud_permissions do |t|
      t.string :name, null: false
      t.string :tag, null: false
      t.timestamps
    end
    add_index :spud_permissions, :tag, unique: true
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
tb_banners-1.3.2 spec/dummy/db/migrate/20130920154443_create_spud_permissions.tb_core.rb
tb_cms-1.3.6 spec/dummy/db/migrate/20141231214452_create_spud_permissions.tb_core.rb
tb_banners-1.3.1 spec/dummy/db/migrate/20130920154443_create_spud_permissions.tb_core.rb
tb_cms-1.3.5 spec/dummy/db/migrate/20141231214452_create_spud_permissions.tb_core.rb
tb_redirects-1.0.3 spec/dummy/db/migrate/20160211160620_create_spud_permissions.tb_core.rb
tb_cms-1.3.3 spec/dummy/db/migrate/20141231214452_create_spud_permissions.tb_core.rb
tb_redirects-1.0.2 spec/dummy/db/migrate/20160211160620_create_spud_permissions.tb_core.rb
tb_cms-1.3.2 spec/dummy/db/migrate/20141231214452_create_spud_permissions.tb_core.rb
tb_cms-1.3.1 spec/dummy/db/migrate/20141231214452_create_spud_permissions.tb_core.rb
tb_redirects-1.0.1 spec/dummy/db/migrate/20160211160620_create_spud_permissions.tb_core.rb