Sha256: a71af6e73a124fe42f3f69c995ee0f8c0f20979a9bac803d63be97e551fd0af5

Contents?: true

Size: 319 Bytes

Versions: 14

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

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

14 entries across 14 versions & 1 rubygems

Version Path
publify_core-10.0.2 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-10.0.1 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-10.0.0 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.10 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.9 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.8 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.7 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.6 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.5 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.4 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.3 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.2 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.1 db/migrate/20160110094906_remove_profiles_rights.rb
publify_core-9.2.0 db/migrate/20160110094906_remove_profiles_rights.rb