mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 21:54:48 +02:00
5 lines
159 B
Ruby
5 lines
159 B
Ruby
class ChangeAuctionsUuid < ActiveRecord::Migration
|
|
def change
|
|
change_column :auctions, :uuid, :uuid, null: false, default: 'gen_random_uuid()'
|
|
end
|
|
end
|