2
0

Update OAuth inflection to match spec (#35160)

This commit is contained in:
Matt Jankowski
2025-06-25 03:52:30 -04:00
committed by GitHub
parent 377289c961
commit 47fda2df2c
18 changed files with 21 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
class AddSuperappToOauthApplications < ActiveRecord::Migration[5.0]
class AddSuperappToOAuthApplications < ActiveRecord::Migration[5.0]
def change
add_column :oauth_applications, :superapp, :boolean, default: false, null: false
end

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
class AddWebsiteToOauthApplication < ActiveRecord::Migration[5.0]
class AddWebsiteToOAuthApplication < ActiveRecord::Migration[5.0]
def change
add_column :oauth_applications, :website, :string
end

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
class AddLastUsedAtToOauthAccessTokens < ActiveRecord::Migration[6.1]
class AddLastUsedAtToOAuthAccessTokens < ActiveRecord::Migration[6.1]
def change
safety_assured do
change_table(:oauth_access_tokens, bulk: true) do |t|

View File

@@ -2,7 +2,7 @@
require Rails.root.join('lib', 'mastodon', 'migration_helpers')
class OptimizeNullIndexOauthAccessTokensRefreshToken < ActiveRecord::Migration[5.2]
class OptimizeNullIndexOAuthAccessTokensRefreshToken < ActiveRecord::Migration[5.2]
include Mastodon::MigrationHelpers
disable_ddl_transaction!

View File

@@ -2,7 +2,7 @@
require Rails.root.join('lib', 'mastodon', 'migration_helpers')
class OptimizeNullIndexOauthAccessTokensResourceOwnerId < ActiveRecord::Migration[5.2]
class OptimizeNullIndexOAuthAccessTokensResourceOwnerId < ActiveRecord::Migration[5.2]
include Mastodon::MigrationHelpers
disable_ddl_transaction!