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:
@@ -5,7 +5,7 @@ class CreateNotifications < ActiveRecord::Migration
|
||||
t.references :user, null: false
|
||||
t.string :data, null: false
|
||||
t.boolean :read, default: false, null: false
|
||||
t.timestamps
|
||||
t.timestamps null: false
|
||||
end
|
||||
|
||||
add_index :notifications, [:user_id, :created_at]
|
||||
|
||||
Reference in New Issue
Block a user