mirror of
https://github.com/System-End/theseus.git
synced 2026-04-19 16:38:18 +00:00
- Add can_use_indicia boolean to users table - Create hcb_oauth_connections table for storing OAuth tokens - Create hcb_payment_accounts table for user/org pairs
12 lines
355 B
Ruby
12 lines
355 B
Ruby
class CreateHCBPaymentAccounts < ActiveRecord::Migration[8.0]
|
|
def change
|
|
create_table :hcb_payment_accounts do |t|
|
|
t.references :user, null: false, foreign_key: true
|
|
t.references :hcb_oauth_connection, null: false, foreign_key: true
|
|
t.string :organization_id
|
|
t.string :organization_name
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|