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:
@@ -4,7 +4,7 @@ class CreateDrafts < ActiveRecord::Migration
|
||||
t.integer :user_id, null: false
|
||||
t.string :draft_key, null: false
|
||||
t.text :data, null: false
|
||||
t.timestamps
|
||||
t.timestamps null: false
|
||||
end
|
||||
add_index :drafts, [:user_id, :draft_key]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user