Sha256: 33c71313482612a6b604f4ab01b51856d11f655530bf98818af19b30b35a1498

Contents?: true

Size: 279 Bytes

Versions: 12

Compression:

Stored size: 279 Bytes

Contents

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

12 entries across 12 versions & 1 rubygems

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