Skip to content

Commit

Permalink
Merge pull request #337 from dradis/fix-subscriptions-migration
Browse files Browse the repository at this point in the history
Add updated_at to subscriptions table
  • Loading branch information
dormi committed Aug 10, 2018
2 parents 2130ead + 38d8fd4 commit a936540
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/migrate/20180613151829_create_subscriptions.rb
Expand Up @@ -3,6 +3,8 @@ def change
create_table :subscriptions do |t|
t.references :subscribable, polymorphic: true
t.references :user, index: true, foreign_key: true

t.timestamps
end

add_index :subscriptions,
Expand Down

0 comments on commit a936540

Please sign in to comment.