Skip to content

Commit 793c9a8

Browse files
authored
Merge pull request #198 from datacite/rename-migration
fix migration name
2 parents f2408eb + 034ae24 commit 793c9a8

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

db/migrate/20250603132805_add_orcid_tokens_to_users.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class AddOrcidSearchAndLinkTokensToUsers < ActiveRecord::Migration[7.1]
3+
class AddOrcidTokensToUsers < ActiveRecord::Migration[7.1]
44
def up
55
execute "ALTER TABLE users ROW_FORMAT=DYNAMIC"
66
end

db/schema.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#
1313
# It's strongly recommended that you check this file into your version control system.
1414

15-
ActiveRecord::Schema[7.1].define(version: 2025_06_10_031120) do
15+
ActiveRecord::Schema[7.1].define(version: 2025_06_03_132805) do
1616
create_table "claims", id: :integer, charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t|
1717
t.string "uuid", limit: 191
1818
t.string "doi", limit: 191
@@ -110,12 +110,12 @@
110110
t.string "organization", limit: 191
111111
t.string "orcid_auto_update_access_token", limit: 191
112112
t.datetime "orcid_auto_update_expires_at", precision: nil, default: "1970-01-01 00:00:00"
113-
t.text "orcid_search_and_link_access_token"
114-
t.text "orcid_search_and_link_refresh_token"
115-
t.datetime "orcid_search_and_link_expires_at"
116-
t.text "orcid_token"
113+
t.string "orcid_auto_update_refresh_token"
114+
t.string "orcid_token"
117115
t.datetime "orcid_expires_at"
118-
t.text "orcid_auto_update_refresh_token"
116+
t.string "orcid_search_and_link_access_token"
117+
t.string "orcid_search_and_link_refresh_token"
118+
t.datetime "orcid_search_and_link_expires_at"
119119
t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true
120120
t.index ["family_name", "given_names"], name: "index_users_on_family_name_and_given_names"
121121
t.index ["github"], name: "index_users_on_github", unique: true

0 commit comments

Comments
 (0)