mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Add HCA signin (#684)
This commit is contained in:
7
db/migrate/20251202221230_add_hca_fields_to_users.rb
Normal file
7
db/migrate/20251202221230_add_hca_fields_to_users.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class AddHCAFieldsToUsers < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
add_column :users, :hca_id, :string
|
||||
add_column :users, :hca_scopes, :string, array: true, default: []
|
||||
add_column :users, :hca_access_token, :string
|
||||
end
|
||||
end
|
||||
5
db/schema.rb
generated
5
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.1].define(version: 2025_12_01_161700) do
|
||||
ActiveRecord::Schema[8.1].define(version: 2025_12_02_221230) do
|
||||
create_schema "pganalyze"
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_catalog.plpgsql"
|
||||
@@ -550,6 +550,9 @@ ActiveRecord::Schema[8.1].define(version: 2025_12_01_161700) do
|
||||
t.string "github_uid"
|
||||
t.string "github_username"
|
||||
t.integer "hackatime_extension_text_type", default: 0, null: false
|
||||
t.string "hca_access_token"
|
||||
t.string "hca_id"
|
||||
t.string "hca_scopes", default: [], array: true
|
||||
t.string "mailing_address_otc"
|
||||
t.text "slack_access_token"
|
||||
t.string "slack_avatar_url"
|
||||
|
||||
Reference in New Issue
Block a user