1 parent
6e74b33f03
commit
3b9110c8c8
44 files changed
+3057
-128
No files matched your search
+29
-14
@@ -21,20 +21,33 @@ const SQLITE_SCHEMA: &str = include_str!("../../migrations/sqlite/schema.sql");
|
||||
const MYSQL_SCHEMA: &str = include_str!("../../migrations/mysql/schema.sql");
|
||||
const PGSQL_SCHEMA: &str = include_str!("../../migrations/pgsql/schema.sql");
|
||||
|
||||
const SQLITE_MIGRATIONS: &[(u32, &str)] = &[(
|
||||
51,
|
||||
include_str!(
|
||||
"../../migrations/sqlite/V051__adaptive_email_colors_and_message_loading_mode.sql"
|
||||
const SQLITE_MIGRATIONS: &[(u32, &str)] = &[
|
||||
(
|
||||
51,
|
||||
include_str!(
|
||||
"../../migrations/sqlite/V051__adaptive_email_colors_and_message_loading_mode.sql"
|
||||
),
|
||||
),
|
||||
)];
|
||||
const MYSQL_MIGRATIONS: &[(u32, &str)] = &[(
|
||||
51,
|
||||
include_str!("../../migrations/mysql/V051__adaptive_email_colors_and_message_loading_mode.sql"),
|
||||
)];
|
||||
const PGSQL_MIGRATIONS: &[(u32, &str)] = &[(
|
||||
51,
|
||||
include_str!("../../migrations/pgsql/V051__adaptive_email_colors_and_message_loading_mode.sql"),
|
||||
)];
|
||||
(52, include_str!("../../migrations/sqlite/V052__snooze.sql")),
|
||||
];
|
||||
const MYSQL_MIGRATIONS: &[(u32, &str)] = &[
|
||||
(
|
||||
51,
|
||||
include_str!(
|
||||
"../../migrations/mysql/V051__adaptive_email_colors_and_message_loading_mode.sql"
|
||||
),
|
||||
),
|
||||
(52, include_str!("../../migrations/mysql/V052__snooze.sql")),
|
||||
];
|
||||
const PGSQL_MIGRATIONS: &[(u32, &str)] = &[
|
||||
(
|
||||
51,
|
||||
include_str!(
|
||||
"../../migrations/pgsql/V051__adaptive_email_colors_and_message_loading_mode.sql"
|
||||
),
|
||||
),
|
||||
(52, include_str!("../../migrations/pgsql/V052__snooze.sql")),
|
||||
];
|
||||
|
||||
const TENANT_TABLES: &[&str] = &[
|
||||
"blob_delete_outbox",
|
||||
@@ -61,6 +74,7 @@ const TENANT_TABLES: &[&str] = &[
|
||||
"response_templates",
|
||||
"saved_searches",
|
||||
"search_outbox",
|
||||
"snoozed_messages",
|
||||
"special_folders",
|
||||
"tags",
|
||||
"trusted_senders",
|
||||
@@ -87,6 +101,7 @@ const IMPORT_TABLES: &[&str] = &[
|
||||
"messages",
|
||||
"tags",
|
||||
"message_tags",
|
||||
"snoozed_messages",
|
||||
"notification_preferences",
|
||||
"pgp_keys",
|
||||
"pgp_preferences",
|
||||
@@ -2648,7 +2663,7 @@ mod tests {
|
||||
|row| row.get(0),
|
||||
)
|
||||
.unwrap();
|
||||
assert_eq!(version, 51);
|
||||
assert_eq!(version, 52);
|
||||
|
||||
let adaptive: i64 = conn
|
||||
.query_row(
|
||||
|
||||
Reference in new issue
Block a user