All checks were successful
Deploy production / deploy (push) Successful in 2m39s
- home schema: home.links (seeded, owner-editable) and home.snapshots (written by a host collector) - deploy/home-collector: stdlib Python + systemd user timer (60s) that snapshots /proc stats, docker containers, systemd timers, service HTTP checks and ntfy topics via a limited role - extras/newtab-extension: MV3 new-tab override, zipped to static/newtab-extension.zip - owner-only pages skip Google Analytics; /trackers/health#body anchor for weigh-ins
36 lines
876 B
TypeScript
Executable File
36 lines
876 B
TypeScript
Executable File
import { defineConfig } from 'drizzle-kit';
|
|
|
|
// Drizzle owns the core schemas only. Deliberately excluded:
|
|
// - lists: runtime tables created through meta.create_list() (owned by personal_ddl)
|
|
// - legacy: pre-reorg tables kept read-only for rollback
|
|
// - energy: owned by ned-collector
|
|
// - hardware: not modelled yet
|
|
// Migrations run as the schema owner (`personal`), never as the app role.
|
|
export default defineConfig({
|
|
dialect: 'postgresql',
|
|
schema: './src/lib/server/db/schema/index.ts',
|
|
out: './drizzle',
|
|
schemaFilter: [
|
|
'auth',
|
|
'money',
|
|
'house',
|
|
'ref',
|
|
'games',
|
|
'cs',
|
|
'animaldex',
|
|
'site',
|
|
'meta',
|
|
'health',
|
|
'books',
|
|
'tasks',
|
|
'groceries',
|
|
'home'
|
|
],
|
|
migrations: { schema: 'drizzle', table: '__drizzle_migrations' },
|
|
verbose: true,
|
|
strict: true,
|
|
dbCredentials: {
|
|
url: (process.env.DB_MIGRATE_URL || process.env.DB_URL)!
|
|
}
|
|
});
|