mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Remove Rails 5 deprecation warning.
This commit is contained in:
@@ -6,7 +6,7 @@ class CreateUserEmails < ActiveRecord::Migration
|
||||
t.integer :user_id, null: false
|
||||
t.string :email, limit: 513, null: false
|
||||
t.boolean :primary, default: false, null: false
|
||||
t.timestamps
|
||||
t.timestamps null: false
|
||||
end
|
||||
|
||||
add_index :user_emails, :user_id
|
||||
|
||||
Reference in New Issue
Block a user