[deploy] Commit migration file (#8272)
This commit is contained in:
parent
b06e9901d5
commit
8fb0641118
1 changed files with 7 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
class AddUniqueIndexToBroadcasts < ActiveRecord::Migration[5.2]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def change
|
||||
add_index :broadcasts, %i[title type_of], unique: true, algorithm: :concurrently
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Reference in a new issue