Remove Rails 5 deprecation warning.

This commit is contained in:
Guo Xiang Tan
2017-08-08 00:48:57 +09:00
parent 2e4b3e9b06
commit 1103ea7c4c
100 changed files with 108 additions and 108 deletions
+1 -1
View File
@@ -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