- Migrated all pages from Next.js to Astro - Added PDPA-compliant Privacy Policy (Thai) - Added PDPA-compliant Terms & Conditions (Thai) - Added Cookie Policy with disclosure (Thai) - Implemented cookie consent banner (client-side) - Integrated Umami Analytics placeholder - Blog system with 3 posts - Optimized Docker configuration for production - Static site build (184KB, 11 pages) - Ready for Easypanel deployment Backup: /Users/kunthawatgreethong/Gitea/dealplustech-backup-nextjs-20260309.tar.gz
12 lines
694 B
TypeScript
12 lines
694 B
TypeScript
import type { MigrationConfig } from "../migrator.cjs";
|
|
import type { NeonHttpDatabase } from "./driver.cjs";
|
|
/**
|
|
* This function reads migrationFolder and execute each unapplied migration and mark it as executed in database
|
|
*
|
|
* NOTE: The Neon HTTP driver does not support transactions. This means that if any part of a migration fails,
|
|
* no rollback will be executed. Currently, you will need to handle unsuccessful migration yourself.
|
|
* @param db - drizzle db instance
|
|
* @param config - path to migration folder generated by drizzle-kit
|
|
*/
|
|
export declare function migrate<TSchema extends Record<string, unknown>>(db: NeonHttpDatabase<TSchema>, config: MigrationConfig): Promise<void>;
|