Sha256: 2d0f4589ed6eae993fed8b4c72217ef03214dc573d19961b718058f8583fda6c

Contents?: true

Size: 305 Bytes

Versions: 12

Compression:

Stored size: 305 Bytes

Contents

class DropSpudAdminPermissions < ActiveRecord::Migration[4.2]
  def up
    drop_table :spud_admin_permissions
  end

  def down
    create_table :spud_admin_permissions do |t|
      t.integer :user_id
      t.string :name
      t.boolean :access
      t.string :scope
      t.timestamps
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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