mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: remove support for legacy auth tokens
This commit is contained in:
@@ -94,6 +94,17 @@ Migration::ColumnDropper.drop(
|
||||
}
|
||||
)
|
||||
|
||||
Migration::ColumnDropper.drop(
|
||||
table: 'user_auth_tokens',
|
||||
after_migration: 'RemoveLegacyAuthToken',
|
||||
columns: %w[
|
||||
legacy
|
||||
],
|
||||
on_drop: ->() {
|
||||
STDERR.puts 'Removing user_auth_token legacy column!'
|
||||
}
|
||||
)
|
||||
|
||||
# User for the smoke tests
|
||||
if ENV["SMOKE"] == "1"
|
||||
UserEmail.seed do |ue|
|
||||
|
||||
Reference in New Issue
Block a user