refactor to adapters
This commit is contained in:
12
adapters/persistence/migrations/001_initial_schema.ts
Normal file
12
adapters/persistence/migrations/001_initial_schema.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// Migration 001: Initial schema setup
|
||||
// This migration sets up the initial database schema for the application.
|
||||
// Idempotent: Can be run multiple times without issues.
|
||||
|
||||
export async function up(): Promise<void> {
|
||||
// For in-memory persistence, no schema changes are needed.
|
||||
// This migration is a placeholder for future database migrations.
|
||||
}
|
||||
|
||||
export async function down(): Promise<void> {
|
||||
// Rollback not implemented for in-memory persistence.
|
||||
}
|
||||
Reference in New Issue
Block a user