mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-16 01:09:55 +00:00
Merge commit 'dbb20f76a781defe35d077529c8269d712c1fbd2' into glitch-soc/merge-upstream
Conflicts: - `tsconfig.json`: glitch-soc had extra paths under `app/javascript/flavours`, but upstream added `app/javascript` as a whole, so updated to upstream's.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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|
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class CreateInstanceModerationNotes < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :instance_moderation_notes do |t|
|
||||
t.string :domain, null: false
|
||||
t.belongs_to :account, foreign_key: { on_delete: :cascade }, index: false, null: false
|
||||
t.text :content
|
||||
|
||||
t.timestamps
|
||||
|
||||
t.index ['domain'], name: 'index_instance_moderation_notes_on_domain'
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user