diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-08-06 15:33:51 +0800 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-08-09 10:04:08 +0800 |
commit | b4b1f69a0bc9cc7296790ba4c777e5c953fa6ddd (patch) | |
tree | 50ae453d1e8c4cba4b0683a2b972d171919453ea /db/schema.rb | |
parent | 44aa23b9ab7341836e00968ea82b6725f3318a21 (diff) | |
download | gitlab-ce-b4b1f69a0bc9cc7296790ba4c777e5c953fa6ddd.tar.gz |
Remove default relative_position value13208-epicissue-has-an-unexpected-default-relative-position-ce
This makes `epic_issues` consistent with other tables
using our `RelativePositioning` class
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb index 0e4a3d07fdd..6674f412140 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2019_08_02_235445) do +ActiveRecord::Schema.define(version: 2019_08_06_071559) do # These are extensions that must be enabled in order to support this database enable_extension "pg_trgm" @@ -1194,7 +1194,7 @@ ActiveRecord::Schema.define(version: 2019_08_02_235445) do create_table "epic_issues", id: :serial, force: :cascade do |t| t.integer "epic_id", null: false t.integer "issue_id", null: false - t.integer "relative_position", default: 1073741823, null: false + t.integer "relative_position" t.index ["epic_id"], name: "index_epic_issues_on_epic_id" t.index ["issue_id"], name: "index_epic_issues_on_issue_id", unique: true end |