1 parent
6e74b33f03
commit
3b9110c8c8
44 files changed
+3057
-128
No files matched your search
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE {{p}}snoozed_messages (
|
||||
id VARCHAR(64) PRIMARY KEY,
|
||||
message_uid BIGINT NOT NULL,
|
||||
message_folder VARCHAR(512) NOT NULL,
|
||||
wake_at BIGINT NOT NULL,
|
||||
created_at VARCHAR(64) NOT NULL DEFAULT (CAST(CURRENT_TIMESTAMP AS CHAR)),
|
||||
UNIQUE KEY idx_snoozed_messages_unique (message_uid, message_folder),
|
||||
INDEX idx_snoozed_messages_wake (wake_at)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -1,7 +1,7 @@
|
||||
-- RustBox 0.2.0 MySQL schema.
|
||||
-- One physical database contains global sessions plus isolated per-account tables.
|
||||
-- Application tables are materialized by replacing {{p}} with a collision-checked prefix.
|
||||
-- Squashed compatibility baseline: V050; current schema: V051.
|
||||
-- Squashed compatibility baseline: V050; current schema: V052.
|
||||
|
||||
-- RUSTBOX:GLOBAL-BEGIN
|
||||
CREATE TABLE IF NOT EXISTS rustbox_accounts (
|
||||
@@ -406,6 +406,16 @@ CREATE TABLE {{p}}saved_searches (
|
||||
updated_at VARCHAR(64) NOT NULL DEFAULT (CAST(CURRENT_TIMESTAMP AS CHAR))
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
CREATE TABLE {{p}}snoozed_messages (
|
||||
id VARCHAR(64) PRIMARY KEY,
|
||||
message_uid BIGINT NOT NULL,
|
||||
message_folder VARCHAR(512) NOT NULL,
|
||||
wake_at BIGINT NOT NULL,
|
||||
created_at VARCHAR(64) NOT NULL DEFAULT (CAST(CURRENT_TIMESTAMP AS CHAR)),
|
||||
UNIQUE KEY idx_snoozed_messages_unique (message_uid, message_folder),
|
||||
INDEX idx_snoozed_messages_wake (wake_at)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
CREATE TABLE {{p}}special_folders (
|
||||
role VARCHAR(255) PRIMARY KEY,
|
||||
folder_name TEXT NOT NULL,
|
||||
|
||||
Reference in new issue
Block a user