Sha256: 2751fa97b3455e3b9d0b5c2a6c2124044a6feed642c286335c89b7410c3d1d09

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

class RemoveProfilesRights < ActiveRecord::Migration[4.2]
  def up
    drop_table :profiles_rights
  end

  def down
    create_table :profiles_rights, id: false do |t|
      t.integer :profile_id
      t.integer :right_id
    end

    add_index :profiles_rights, [:profile_id]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
publify_core-9.1.0 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.0.1 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.0.0 db/migrate/20160110094906_remove_profiles_rights.rb