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
324 B
Ruby
12 lines
324 B
Ruby
class CreateHCBOauthConnections < ActiveRecord::Migration[8.0]
|
|
def change
|
|
create_table :hcb_oauth_connections do |t|
|
|
t.references :user, null: false, foreign_key: true
|
|
t.text :access_token_ciphertext
|
|
t.text :refresh_token_ciphertext
|
|
t.datetime :expires_at
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|