fix: finish 2.9.0 plugin moves and get every check green

This commit is contained in:
LukeGus committed 2026-09-24 23:35:18 -05:00
1 parent 8c1e02af89
commit 6489b62ece
335 files changed
+29878 -17749

No files matched your search

+5 -7
View File
@@ -1,8 +1,6 @@
-- proxmox_node_history and proxmox_stats_preferences moved to the proxmox
-- plugin (p_proxmox_*), adopted by rename rather than dropped. A real DROP
-- TABLE here would run before the plugin's adoption migration and delete
-- every row.
ALTER TABLE `ssh_data` DROP COLUMN `enable_proxmox`;--> statement-breakpoint
ALTER TABLE `ssh_data` DROP COLUMN `proxmox_config`;--> statement-breakpoint
ALTER TABLE `ssh_data` DROP COLUMN `enable_proxmox_stats`;--> statement-breakpoint
ALTER TABLE `ssh_data` DROP COLUMN `proxmox_stats_config`;
-- plugin (p_proxmox_*), adopted by rename rather than dropped. The four
-- ssh_data proxmox columns are copied into the plugin's host settings after
-- plugins load, which is after this migration, so a real DROP COLUMN here
-- would delete the data first. The columns stay in place, unused, until 3.0.0.
SELECT 1;
+52
View File
@@ -0,0 +1,52 @@
-- The dialect generator now decides varchar or text per table. Columns that
-- were varchar(255) only because the same name was a key in another table
-- become text, and the timestamps and labels B18's regeneration left as
-- varchar(255) on real databases follow. varchar to text keeps every value.
ALTER TABLE `api_keys` MODIFY COLUMN `name` text NOT NULL;--> statement-breakpoint
ALTER TABLE `api_keys` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `api_keys` MODIFY COLUMN `expires_at` text;--> statement-breakpoint
ALTER TABLE `credential_access` MODIFY COLUMN `expires_at` text;--> statement-breakpoint
ALTER TABLE `credential_access` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `credential_sidebar_preferences` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `folder_access` MODIFY COLUMN `expires_at` text;--> statement-breakpoint
ALTER TABLE `folder_access` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `host_access` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `host_sidebar_preferences` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `ssh_data` MODIFY COLUMN `name` text;--> statement-breakpoint
ALTER TABLE `ssh_data` MODIFY COLUMN `folder` text;--> statement-breakpoint
ALTER TABLE `ssh_data` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `ssh_data` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `notification_channels` MODIFY COLUMN `name` text NOT NULL;--> statement-breakpoint
ALTER TABLE `notification_channels` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `plugin_install_counts` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `plugin_registries` MODIFY COLUMN `name` text NOT NULL;--> statement-breakpoint
ALTER TABLE `plugin_settings` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `plugin_storage` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `plugins` MODIFY COLUMN `name` text NOT NULL;--> statement-breakpoint
ALTER TABLE `plugins` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `rbac_known_permissions` MODIFY COLUMN `plugin_id` text;--> statement-breakpoint
ALTER TABLE `roles` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `roles` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `sessions` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `shared_credential_secrets` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `shared_credential_secrets` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `shared_host_auth_overrides` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `shared_host_auth_overrides` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `shared_host_secrets` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `shared_host_secrets` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `ssh_credentials` MODIFY COLUMN `name` text NOT NULL;--> statement-breakpoint
ALTER TABLE `ssh_credentials` MODIFY COLUMN `folder` text;--> statement-breakpoint
ALTER TABLE `ssh_credentials` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `ssh_credentials` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `ssh_folders` MODIFY COLUMN `name` text NOT NULL;--> statement-breakpoint
ALTER TABLE `ssh_folders` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `ssh_folders` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `sync_tombstones` MODIFY COLUMN `sync_id` text NOT NULL;--> statement-breakpoint
ALTER TABLE `trusted_devices` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `trusted_devices` MODIFY COLUMN `expires_at` text NOT NULL;--> statement-breakpoint
ALTER TABLE `ui_preferences` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `user_external_identities` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `user_open_tabs` MODIFY COLUMN `label` text NOT NULL;--> statement-breakpoint
ALTER TABLE `user_open_tabs` MODIFY COLUMN `created_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `user_open_tabs` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);--> statement-breakpoint
ALTER TABLE `user_preferences` MODIFY COLUMN `updated_at` text NOT NULL DEFAULT (CURRENT_TIMESTAMP);
@@ -0,0 +1,6 @@
-- The file manager, tunnels, web endpoint, terminal, tmux monitor, session
-- sharing and session recording host columns, and the dead show_*_in_sidebar
-- columns, moved to their plugins' host settings. The copies run after
-- plugins load, which is after this migration, so a real DROP COLUMN here
-- would delete the data first. The columns stay in place, unused, until 3.0.0.
SELECT 1;
+34 -34
View File
@@ -44,7 +44,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -318,7 +318,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -432,7 +432,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -596,7 +596,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -733,7 +733,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -869,7 +869,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -1491,7 +1491,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -1499,7 +1499,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -1675,7 +1675,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -1751,7 +1751,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -2083,7 +2083,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -2169,7 +2169,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -2284,7 +2284,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -2580,7 +2580,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -2588,7 +2588,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -2676,7 +2676,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -2861,7 +2861,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -2869,7 +2869,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -2987,7 +2987,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -2995,7 +2995,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -3163,7 +3163,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -3171,7 +3171,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -3503,7 +3503,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -3511,7 +3511,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -3621,7 +3621,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -3629,7 +3629,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -3798,7 +3798,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -3874,7 +3874,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -3948,7 +3948,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -4031,7 +4031,7 @@
},
"label": {
"name": "label",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false
@@ -4053,7 +4053,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -4061,7 +4061,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -4297,7 +4297,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
@@ -4669,4 +4669,4 @@
"tables": {},
"indexes": {}
}
}
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+14
View File
@@ -393,6 +393,20 @@
"when": 1790300572937,
"tag": "0055_icy_patch",
"breakpoints": true
},
{
"idx": 56,
"version": "5",
"when": 1790304003222,
"tag": "0056_supreme_toad_men",
"breakpoints": true
},
{
"idx": 57,
"version": "5",
"when": 1790304466729,
"tag": "0057_serious_shatterstar",
"breakpoints": true
}
]
}
@@ -1,8 +1,6 @@
-- proxmox_node_history and proxmox_stats_preferences moved to the proxmox
-- plugin (p_proxmox_*), adopted by rename rather than dropped. A real DROP
-- TABLE here would run before the plugin's adoption migration and delete
-- every row.
ALTER TABLE "ssh_data" DROP COLUMN "enable_proxmox";--> statement-breakpoint
ALTER TABLE "ssh_data" DROP COLUMN "proxmox_config";--> statement-breakpoint
ALTER TABLE "ssh_data" DROP COLUMN "enable_proxmox_stats";--> statement-breakpoint
ALTER TABLE "ssh_data" DROP COLUMN "proxmox_stats_config";
-- plugin (p_proxmox_*), adopted by rename rather than dropped. The four
-- ssh_data proxmox columns are copied into the plugin's host settings after
-- plugins load, which is after this migration, so a real DROP COLUMN here
-- would delete the data first. The columns stay in place, unused, until 3.0.0.
SELECT 1;
@@ -0,0 +1,84 @@
-- The dialect generator now decides varchar or text per table. Columns that
-- were varchar(255) only because the same name was a key in another table
-- become text, and the timestamps and labels B18's regeneration left as
-- varchar(255) on real databases follow. varchar to text keeps every value.
ALTER TABLE "api_keys" ALTER COLUMN "name" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "api_keys" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "api_keys" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "api_keys" ALTER COLUMN "expires_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "credential_access" ALTER COLUMN "expires_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "credential_access" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "credential_access" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "credential_sidebar_preferences" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "credential_sidebar_preferences" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "folder_access" ALTER COLUMN "expires_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "folder_access" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "folder_access" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "host_access" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "host_access" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "host_sidebar_preferences" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "host_sidebar_preferences" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "ssh_data" ALTER COLUMN "name" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_data" ALTER COLUMN "folder" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_data" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_data" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "ssh_data" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_data" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "notification_channels" ALTER COLUMN "name" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "notification_channels" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "notification_channels" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "plugin_install_counts" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "plugin_install_counts" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "plugin_registries" ALTER COLUMN "name" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "plugin_settings" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "plugin_settings" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "plugin_storage" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "plugin_storage" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "plugins" ALTER COLUMN "name" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "plugins" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "plugins" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "rbac_known_permissions" ALTER COLUMN "plugin_id" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "roles" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "roles" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "roles" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "roles" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "sessions" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "sessions" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "shared_credential_secrets" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "shared_credential_secrets" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "shared_credential_secrets" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "shared_credential_secrets" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "shared_host_auth_overrides" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "shared_host_auth_overrides" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "shared_host_auth_overrides" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "shared_host_auth_overrides" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "shared_host_secrets" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "shared_host_secrets" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "shared_host_secrets" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "shared_host_secrets" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "ssh_credentials" ALTER COLUMN "name" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_credentials" ALTER COLUMN "folder" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_credentials" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_credentials" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "ssh_credentials" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_credentials" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "ssh_folders" ALTER COLUMN "name" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_folders" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_folders" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "ssh_folders" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ssh_folders" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "sync_tombstones" ALTER COLUMN "sync_id" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "trusted_devices" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "trusted_devices" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "trusted_devices" ALTER COLUMN "expires_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ui_preferences" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "ui_preferences" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "user_external_identities" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "user_external_identities" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "user_open_tabs" ALTER COLUMN "label" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "user_open_tabs" ALTER COLUMN "created_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "user_open_tabs" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "user_open_tabs" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "user_open_tabs" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE "user_preferences" ALTER COLUMN "updated_at" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "user_preferences" ALTER COLUMN "updated_at" SET DEFAULT CURRENT_TIMESTAMP;
+6
View File
@@ -0,0 +1,6 @@
-- The file manager, tunnels, web endpoint, terminal, tmux monitor, session
-- sharing and session recording host columns, and the dead show_*_in_sidebar
-- columns, moved to their plugins' host settings. The copies run after
-- plugins load, which is after this migration, so a real DROP COLUMN here
-- would delete the data first. The columns stay in place, unused, until 3.0.0.
SELECT 1;
+34 -34
View File
@@ -40,7 +40,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -337,7 +337,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -468,7 +468,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -619,7 +619,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -757,7 +757,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -916,7 +916,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -1453,14 +1453,14 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -1650,7 +1650,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -1716,7 +1716,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -2044,7 +2044,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -2157,7 +2157,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -2271,7 +2271,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -2570,14 +2570,14 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -2653,7 +2653,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -2829,14 +2829,14 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -2970,14 +2970,14 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -3145,14 +3145,14 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -3483,14 +3483,14 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -3596,14 +3596,14 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -3762,7 +3762,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -3837,7 +3837,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -3901,7 +3901,7 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -3996,7 +3996,7 @@
},
"label": {
"name": "label",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true
},
@@ -4015,14 +4015,14 @@
},
"created_at": {
"name": "created_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -4236,7 +4236,7 @@
},
"updated_at": {
"name": "updated_at",
"type": "text",
"type": "varchar(255)",
"primaryKey": false,
"notNull": true,
"default": "CURRENT_TIMESTAMP"
@@ -4603,4 +4603,4 @@
"schemas": {},
"tables": {}
}
}
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+14
View File
@@ -400,6 +400,20 @@
"when": 1790300572231,
"tag": "0056_chilly_vindicator",
"breakpoints": true
},
{
"idx": 57,
"version": "7",
"when": 1790304002011,
"tag": "0057_married_dragon_lord",
"breakpoints": true
},
{
"idx": 58,
"version": "7",
"when": 1790304465181,
"tag": "0058_goofy_ma_gnuci",
"breakpoints": true
}
]
}
+5 -7
View File
@@ -1,8 +1,6 @@
-- proxmox_node_history and proxmox_stats_preferences moved to the proxmox
-- plugin (p_proxmox_*), adopted by rename rather than dropped. A real DROP
-- TABLE here would run before the plugin's adoption migration and delete
-- every row.
ALTER TABLE `ssh_data` DROP COLUMN `enable_proxmox`;--> statement-breakpoint
ALTER TABLE `ssh_data` DROP COLUMN `proxmox_config`;--> statement-breakpoint
ALTER TABLE `ssh_data` DROP COLUMN `enable_proxmox_stats`;--> statement-breakpoint
ALTER TABLE `ssh_data` DROP COLUMN `proxmox_stats_config`;
-- plugin (p_proxmox_*), adopted by rename rather than dropped. The four
-- ssh_data proxmox columns are copied into the plugin's host settings after
-- plugins load, which is after this migration, so a real DROP COLUMN here
-- would delete the data first. The columns stay in place, unused, until 3.0.0.
SELECT 1;
@@ -0,0 +1,6 @@
-- The file manager, tunnels, web endpoint, terminal, tmux monitor, session
-- sharing and session recording host columns, and the dead show_*_in_sidebar
-- columns, moved to their plugins' host settings. The copies run after
-- plugins load, which is after this migration, so a real DROP COLUMN here
-- would delete the data first. The columns stay in place, unused, until 3.0.0.
SELECT 1;
File diff suppressed because it is too large. Load diff
+7
View File
@@ -372,6 +372,13 @@
"when": 1790300571504,
"tag": "0052_public_professor_monster",
"breakpoints": true
},
{
"idx": 53,
"version": "6",
"when": 1790304468233,
"tag": "0053_bent_absorbing_man",
"breakpoints": true
}
]
}