diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 11:18:50 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 11:18:50 +0000 |
commit | 8c7f4e9d5f36cff46365a7f8c4b9c21578c1e781 (patch) | |
tree | a77e7fe7a93de11213032ed4ab1f33a3db51b738 /db/migrate/20180223120443_create_user_interacted_projects_table.rb | |
parent | 00b35af3db1abfe813a778f643dad221aad51fca (diff) | |
download | gitlab-ce-8c7f4e9d5f36cff46365a7f8c4b9c21578c1e781.tar.gz |
Add latest changes from gitlab-org/gitlab@13-1-stable-ee
Diffstat (limited to 'db/migrate/20180223120443_create_user_interacted_projects_table.rb')
-rw-r--r-- | db/migrate/20180223120443_create_user_interacted_projects_table.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/db/migrate/20180223120443_create_user_interacted_projects_table.rb b/db/migrate/20180223120443_create_user_interacted_projects_table.rb deleted file mode 100644 index 185a690ad3d..00000000000 --- a/db/migrate/20180223120443_create_user_interacted_projects_table.rb +++ /dev/null @@ -1,20 +0,0 @@ -class CreateUserInteractedProjectsTable < ActiveRecord::Migration[4.2] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - INDEX_NAME = 'user_interacted_projects_non_unique_index' - - def up - create_table :user_interacted_projects, id: false do |t| - t.references :user, null: false - t.references :project, null: false - end - - add_index :user_interacted_projects, [:project_id, :user_id], name: INDEX_NAME - end - - def down - drop_table :user_interacted_projects - end -end |