Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJob van der Voort <jobvandervoort@gmail.com>2015-04-21 17:21:51 +0300
committerJob van der Voort <jobvandervoort@gmail.com>2015-04-21 17:21:51 +0300
commita8e93b7f51d968c1380ed210499869b62b07fd15 (patch)
treec864e80dfd9cf4f83fcede678acc986e3a125bf5 /db/migrate/20150313012111_create_subscriptions_table.rb
parent0625b15a481b3a3edd88110b3c18031ad9068d2f (diff)
Version 7.10.0.rc5v7.10.0.rc5
Diffstat (limited to 'db/migrate/20150313012111_create_subscriptions_table.rb')
-rw-r--r--db/migrate/20150313012111_create_subscriptions_table.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/db/migrate/20150313012111_create_subscriptions_table.rb b/db/migrate/20150313012111_create_subscriptions_table.rb
deleted file mode 100644
index a1d4d9dedc5..00000000000
--- a/db/migrate/20150313012111_create_subscriptions_table.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-class CreateSubscriptionsTable < ActiveRecord::Migration
- def change
- create_table :subscriptions do |t|
- t.integer :user_id
- t.references :subscribable, polymorphic: true
- t.boolean :subscribed
-
- t.timestamps
- end
-
- add_index :subscriptions,
- [:subscribable_id, :subscribable_type, :user_id],
- unique: true,
- name: 'subscriptions_user_id_and_ref_fields'
- end
-end