summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-09-13 15:43:59 +0200
committerJan Provaznik <jprovaznik@gitlab.com>2018-09-13 15:43:59 +0200
commita0bb444ce692a0f5aeb6f72e4ec07c8e673ef6e5 (patch)
tree38f62210c1aa6ffd8ec7eb207bdba517a426e2e3 /db
parentf45985a27727c98c8c5c4a879fe4fea974a06cc1 (diff)
downloadgitlab-ce-a0bb444ce692a0f5aeb6f72e4ec07c8e673ef6e5.tar.gz
Fix column differences in `db/schema.rb`
project_custom_attributes and group_custom_attributes used datetime instead of datetime_with_timezone column type in database schema. But actually migration defines `t.timestamps_with_timezone`.
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 13814dd569e..d888891c8ea 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -943,8 +943,8 @@ ActiveRecord::Schema.define(version: 20180906101639) do
add_index "gpg_signatures", ["project_id"], name: "index_gpg_signatures_on_project_id", using: :btree
create_table "group_custom_attributes", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
+ t.datetime_with_timezone "created_at", null: false
+ t.datetime_with_timezone "updated_at", null: false
t.integer "group_id", null: false
t.string "key", null: false
t.string "value", null: false
@@ -1550,8 +1550,8 @@ ActiveRecord::Schema.define(version: 20180906101639) do
add_index "project_ci_cd_settings", ["project_id"], name: "index_project_ci_cd_settings_on_project_id", unique: true, using: :btree
create_table "project_custom_attributes", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
+ t.datetime_with_timezone "created_at", null: false
+ t.datetime_with_timezone "updated_at", null: false
t.integer "project_id", null: false
t.string "key", null: false
t.string "value", null: false