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';
|
||||
@@ -1,10 +0,0 @@
|
||||
CREATE TABLE {{p}}snoozed_messages (
|
||||
id TEXT PRIMARY KEY,
|
||||
message_uid BIGINT NOT NULL,
|
||||
message_folder TEXT NOT NULL,
|
||||
wake_at BIGINT NOT NULL,
|
||||
created_at TEXT NOT NULL DEFAULT (CURRENT_TIMESTAMP::text),
|
||||
UNIQUE (message_uid, message_folder)
|
||||
);
|
||||
|
||||
CREATE INDEX {{p}}idx_snoozed_messages_wake ON {{p}}snoozed_messages(wake_at);
|
||||
@@ -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;
|
||||
@@ -1,13 +1,13 @@
|
||||
-- RustBox 0.2.0 PostgreSQL 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 TEXT NOT NULL DEFAULT (CURRENT_TIMESTAMP::text),
|
||||
updated_at TEXT NOT NULL DEFAULT (CURRENT_TIMESTAMP::text)
|
||||
);
|
||||
@@ -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
|
||||
);
|
||||
|
||||
CREATE TABLE {{p}}draft_attachments (
|
||||
|
||||
Reference in new issue
Block a user