v0.2.23
RustBox CI / rustbox (push) Canceled after 0s

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-04 20:44:31 +01:00
1 parent 3b9110c8c8
commit beae94e932
42 files changed
+2518 -274

No files matched your search

@@ -1,5 +0,0 @@
ALTER TABLE {{p}}display_preferences
ADD COLUMN adaptive_email_colors BIGINT NOT NULL DEFAULT 0;
ALTER TABLE {{p}}mail_preferences
ADD COLUMN message_loading_mode TEXT NOT NULL DEFAULT 'pagination';
-9
View File
@@ -1,9 +0,0 @@
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;
@@ -0,0 +1,3 @@
ALTER TABLE {{p}}display_preferences
ADD COLUMN skin_depth TEXT NOT NULL DEFAULT ('standard'),
ADD COLUMN skin_gradients BIGINT NOT NULL DEFAULT 0;
+6 -4
View File
@@ -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'),