feat: give plugins their own tables, migrations and sync entities

This commit is contained in:
LukeGus committed 2026-09-22 15:49:54 -05:00
1 parent 5796186a1c
commit c496a093ca
47 files changed
+32595 -290

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
CREATE TABLE `plugin_migrations` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`plugin_id` text NOT NULL,
`migration_id` text NOT NULL,
`checksum` text NOT NULL,
`applied_at` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
FOREIGN KEY (`plugin_id`) REFERENCES `plugins`(`id`) ON UPDATE no action ON DELETE cascade
);
--> statement-breakpoint
CREATE UNIQUE INDEX `idx_plugin_migrations_plugin_migration` ON `plugin_migrations` (`plugin_id`,`migration_id`);
File diff suppressed because it is too large. Load diff
+7
View File
@@ -169,6 +169,13 @@
"when": 1790102858837,
"tag": "0023_talented_shooting_star",
"breakpoints": true
},
{
"idx": 24,
"version": "6",
"when": 1790109036510,
"tag": "0024_public_hemingway",
"breakpoints": true
}
]
}