mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
10 lines
220 B
Ruby
10 lines
220 B
Ruby
|
|
# frozen_string_literal: true
|
||
|
|
|
||
|
|
class AddIndexToStatsShareUuid < ActiveRecord::Migration[8.0]
|
||
|
|
disable_ddl_transaction!
|
||
|
|
|
||
|
|
def change
|
||
|
|
add_index :stats, :sharing_uuid, unique: true, algorithm: :concurrently
|
||
|
|
end
|
||
|
|
end
|