fix: Macros authorizations (#5779)

Macros policy update.

ref: #5730
This commit is contained in:
Tejaswini Chile
2022-11-08 07:16:00 +05:30
committed by GitHub
parent 479d88a480
commit 48373628a1
8 changed files with 177 additions and 38 deletions

View File

@@ -0,0 +1,9 @@
class ChangeMacrosCreatedByToNull < ActiveRecord::Migration[6.1]
def change
change_column_null :macros, :created_by_id, true
change_column_null :macros, :updated_by_id, true
remove_index :macros, :created_by_id, if_exists: true
remove_index :macros, :updated_by_id, if_exists: true
end
end