diff options
author | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-06-02 13:46:08 +0300 |
---|---|---|
committer | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-06-05 09:06:35 +0300 |
commit | 85a7e0813e9806ad3eb853e4a48c09ae5f78f94c (patch) | |
tree | db7d77148d74f600b4d7e79c568afd816b9f1b9a /db/migrate/20180201110056_add_foreign_keys_to_todos.rb | |
parent | 800d3b88c78ee7a98fa41f3a1628c6c2a6d12a68 (diff) |
Support rails5 in postgres indexes function and fix some migrations
Diffstat (limited to 'db/migrate/20180201110056_add_foreign_keys_to_todos.rb')
-rw-r--r-- | db/migrate/20180201110056_add_foreign_keys_to_todos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20180201110056_add_foreign_keys_to_todos.rb b/db/migrate/20180201110056_add_foreign_keys_to_todos.rb index b7c40f8c01a..020b0550321 100644 --- a/db/migrate/20180201110056_add_foreign_keys_to_todos.rb +++ b/db/migrate/20180201110056_add_foreign_keys_to_todos.rb @@ -31,7 +31,7 @@ class AddForeignKeysToTodos < ActiveRecord::Migration end def down - remove_foreign_key :todos, :users + remove_foreign_key :todos, column: :user_id remove_foreign_key :todos, column: :author_id remove_foreign_key :todos, :notes end |