blob: 1fc3cadfa039b96761d0b9703c23c7c3e504e829 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
class AddChatToTags < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
safety_assured {
add_column :tags, :chat, :boolean, default: false, null: false
add_index :tags, :chat, where: :chat, algorithm: :concurrently
}
end
end
|