blob: 0fd8048c41c495e296dad18e90b6cd96d0e3e055 (
plain) (
blame)
1
2
3
4
5
6
7
|
class AddOriginToStatuses < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_column :statuses, :origin, :string
add_index :statuses, :origin, unique: true, algorithm: :concurrently
end
end
|