Sha256: 3b0945a937c2a34b2fe07095cec029cc479c3371134d820bd875bf152485fb19

Contents?: true

Size: 283 Bytes

Versions: 6

Compression:

Stored size: 283 Bytes

Contents

class RemoveProfilesRights < ActiveRecord::Migration
  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

6 entries across 6 versions & 1 rubygems

Version Path
publify_core-9.0.0.pre6 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.0.0.pre5 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.0.0.pre4 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.0.0.pre3 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.0.0.pre2 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.0.0.pre1 db/migrate/20160110094906_remove_profiles_rights.rb