mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
5 lines
164 B
Ruby
5 lines
164 B
Ruby
class ChangeAuctionsUuid < ActiveRecord::Migration[6.0]
|
|
def change
|
|
change_column :auctions, :uuid, :uuid, null: false, default: 'gen_random_uuid()'
|
|
end
|
|
end
|