7 lines
199 B
Ruby
7 lines
199 B
Ruby
|
class AddConversationUuid < ActiveRecord::Migration[6.0]
|
||
|
def change
|
||
|
enable_extension 'pgcrypto'
|
||
|
add_column :conversations, :uuid, :uuid, default: 'gen_random_uuid()', null: false
|
||
|
end
|
||
|
end
|