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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-05 00:08:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-05 00:08:55 +0300
commit51612d3ef5be853289008694c40973b479e8547c (patch)
tree0a74213e94c9b6d81f6f0cb01e0b5dbff26f5444 /db/migrate/20200121192942_create_geo_events.rb
parentca05512007cea51e05d3431b2c8bd7228c754370 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/migrate/20200121192942_create_geo_events.rb')
-rw-r--r--db/migrate/20200121192942_create_geo_events.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20200121192942_create_geo_events.rb b/db/migrate/20200121192942_create_geo_events.rb
new file mode 100644
index 00000000000..6dbe131051f
--- /dev/null
+++ b/db/migrate/20200121192942_create_geo_events.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+class CreateGeoEvents < ActiveRecord::Migration[5.2]
+ DOWNTIME = false
+
+ def change
+ create_table :geo_events do |t|
+ t.string :replicable_name, limit: 255, null: false
+ t.string :event_name, limit: 255, null: false
+ t.jsonb :payload, default: {}, null: false
+ t.datetime_with_timezone :created_at, null: false
+ end
+ end
+end