diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-04 19:23:44 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-04 20:21:49 +0100 |
commit | e58ce2b72eec6b92986884ee80b974b83134b7f4 (patch) | |
tree | c1d411e762f4a62d39a3b66dbebef394a844fc35 /db/migrate | |
parent | dd0e3412034bf9227c415455f230fe4b28439f2c (diff) | |
download | gitlab-ce-e58ce2b72eec6b92986884ee80b974b83134b7f4.tar.gz |
Remove index on file_type
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20170918072948_create_job_artifacts.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20170918072948_create_job_artifacts.rb b/db/migrate/20170918072948_create_job_artifacts.rb index d6c6a228ed1..304b3fce5be 100644 --- a/db/migrate/20170918072948_create_job_artifacts.rb +++ b/db/migrate/20170918072948_create_job_artifacts.rb @@ -6,8 +6,8 @@ class CreateJobArtifacts < ActiveRecord::Migration def change create_table :ci_job_artifacts do |t| t.belongs_to :project, null: false, index: true, foreign_key: { on_delete: :cascade } - t.integer :job_id, null: false, index: true - t.integer :file_type, null: false, index: true + t.integer :job_id, null: false + t.integer :file_type, null: false t.integer :size, limit: 8 t.datetime_with_timezone :created_at, null: false |