Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20230808070520_create_events_cursor.sql « main « click_house « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: effc3c64f60570cf630d25f13ebfbf1f8def2a98 (plain)
1
2
3
4
5
6
7
8
9
CREATE TABLE sync_cursors
(
  table_name LowCardinality(String) DEFAULT '',
  primary_key_value UInt64 DEFAULT 0,
  recorded_at DateTime64(6, 'UTC') DEFAULT now()
)
ENGINE = ReplacingMergeTree(recorded_at)
ORDER BY (table_name)
PRIMARY KEY (table_name)