This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f3ead7
commit b40f850
Showing
6 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
CREATE TABLE IF NOT EXISTS messages ( | ||
message_id UUID, | ||
account_id String, | ||
sender String, | ||
recipient String, | ||
message String, | ||
time DateTime | ||
) ENGINE = MergeTree() | ||
PRIMARY KEY (message_id); | ||
CREATE TABLE | ||
IF NOT EXISTS messages ( | ||
message_id UUID, | ||
account_id String, | ||
sender String, | ||
recipient String, | ||
message String, | ||
time DateTime('UTC') | ||
) ENGINE = MergeTree() PRIMARY KEY (message_id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
CREATE TABLE IF NOT EXISTS messages ( | ||
message_id UUID PRIMARY KEY, | ||
account_id TEXT, | ||
sender TEXT, | ||
recipient TEXT, | ||
message TEXT, | ||
time TIMESTAMP | ||
); | ||
CREATE TABLE | ||
IF NOT EXISTS messages ( | ||
message_id UUID PRIMARY KEY, | ||
account_id TEXT, | ||
sender TEXT, | ||
recipient TEXT, | ||
message TEXT, | ||
time TIMESTAMPTZ | ||
); |