add pix qr code to deposit order
This commit is contained in:
6
db/migrate/20210906021555_enable_uuid.rb
Normal file
6
db/migrate/20210906021555_enable_uuid.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
class EnableUuid < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
enable_extension("pgcrypto")
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
class AddTransactionIdToDespoitOrder < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column(:deposit_orders, :transaction_id, :uuid, default: "gen_random_uuid()", null: false)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user