Sha256: 29f8b0a79352051ddff44d90796f32b412c4cb018405978d2e2c02a6c0c82f3b

Contents?: true

Size: 263 Bytes

Versions: 52

Compression:

Stored size: 263 Bytes

Contents

class RemoveCmsAdmin < ActiveRecord::Migration
  def change
    if ActiveRecord::Base.connection.table_exists?(:kuhsaft_cms_admins)
      drop_table :kuhsaft_cms_admins
    else
      puts 'kuhsaft_cms_admins table does not exist, not deleting'
    end
  end
end

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
kuhsaft-2.6.3 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.6.2 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.6.1 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.5.2 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.6.0 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.5.1 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.5.0 db/migrate/05_remove_cms_admin.rb
qbrick-2.5.0.pre db/migrate/05_remove_cms_admin.rb
kuhsaft-2.4.3 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.4.2 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.4.1 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.4.0 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.3.6 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.3.5 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.3.4 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.3.3 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.3.2 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.3.1 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.3.0 db/migrate/05_remove_cms_admin.rb
kuhsaft-2.2.6 db/migrate/05_remove_cms_admin.rb