1 parent
3b9110c8c8
commit
beae94e932
42 files changed
+2518
-274
No files matched your search
@@ -1,13 +1,13 @@
|
||||
-- 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: V052.
|
||||
-- Squashed compatibility baseline: V052; current schema: V053.
|
||||
|
||||
-- RUSTBOX:GLOBAL-BEGIN
|
||||
CREATE TABLE IF NOT EXISTS rustbox_accounts (
|
||||
user_hash VARCHAR(128) PRIMARY KEY,
|
||||
table_prefix VARCHAR(64) NOT NULL UNIQUE,
|
||||
schema_version BIGINT NOT NULL DEFAULT 50,
|
||||
schema_version BIGINT NOT NULL DEFAULT 52,
|
||||
created_at VARCHAR(64) NOT NULL DEFAULT (CAST(CURRENT_TIMESTAMP AS CHAR)),
|
||||
updated_at VARCHAR(64) NOT NULL DEFAULT (CAST(CURRENT_TIMESTAMP AS CHAR))
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -177,7 +177,9 @@ CREATE TABLE {{p}}display_preferences (
|
||||
spellcheck_enabled BIGINT NOT NULL DEFAULT 1,
|
||||
interface_skin TEXT NOT NULL DEFAULT ('rustbox'),
|
||||
preset_scale_unlocked BIGINT NOT NULL DEFAULT 0,
|
||||
adaptive_email_colors BIGINT NOT NULL DEFAULT 0
|
||||
adaptive_email_colors BIGINT NOT NULL DEFAULT 0,
|
||||
skin_depth TEXT NOT NULL DEFAULT ('standard'),
|
||||
skin_gradients BIGINT NOT NULL DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
CREATE TABLE {{p}}draft_attachments (
|
||||
@@ -297,7 +299,7 @@ CREATE TABLE {{p}}known_addresses (
|
||||
CREATE TABLE {{p}}mail_preferences (
|
||||
id BIGINT PRIMARY KEY,
|
||||
messages_per_page BIGINT NOT NULL DEFAULT 300,
|
||||
message_loading_mode TEXT NOT NULL DEFAULT 'pagination',
|
||||
message_loading_mode TEXT NOT NULL DEFAULT ('pagination'),
|
||||
mark_read_delay_ms BIGINT NOT NULL DEFAULT 0,
|
||||
remote_images TEXT NOT NULL DEFAULT ('ask'),
|
||||
preferred_body TEXT NOT NULL DEFAULT ('auto'),
|
||||
|
||||
Reference in new issue
Block a user