mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix all the errors to get our tests green on Rails 5.1.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class RemoveEmailTokenFromUsers < ActiveRecord::Migration
|
||||
class RemoveEmailTokenFromUsers < ActiveRecord::Migration[4.2]
|
||||
def up
|
||||
execute "INSERT INTO email_tokens (user_id, email, token, created_at, updated_at)
|
||||
SELECT id, email, email_token, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP
|
||||
|
||||
Reference in New Issue
Block a user