diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-03-16 17:20:17 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-03-16 21:38:41 +0200 |
commit | 1b437ec3498bc544dbd1b252f5c755e9073407fd (patch) | |
tree | e3c0cea66260a2b65d21b660ebd4b042a6b0c80c /db | |
parent | f53683e67fa0db7b13d0dee977bc21206af7e0fd (diff) | |
download | gitlab-ce-1b437ec3498bc544dbd1b252f5c755e9073407fd.tar.gz |
tests
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20150313012111_create_subscriptions_table.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/db/migrate/20150313012111_create_subscriptions_table.rb b/db/migrate/20150313012111_create_subscriptions_table.rb index 78f7aeeaf7c..a1d4d9dedc5 100644 --- a/db/migrate/20150313012111_create_subscriptions_table.rb +++ b/db/migrate/20150313012111_create_subscriptions_table.rb @@ -8,6 +8,9 @@ class CreateSubscriptionsTable < ActiveRecord::Migration t.timestamps end - add_index :subscriptions, [:subscribable_id, :subscribable_type, :user_id], unique: true, name: 'subscriptions_user_id_and_ref_fields' + add_index :subscriptions, + [:subscribable_id, :subscribable_type, :user_id], + unique: true, + name: 'subscriptions_user_id_and_ref_fields' end end |