feat(base): add migration marker for formula property type

This commit is contained in:
Philipinho
2026-04-24 00:06:13 +01:00
parent ea0dc2b56b
commit c67ae19c39
@@ -0,0 +1,15 @@
import { type Kysely, sql } from "kysely";
/*
* The `base_properties.type` column is varchar with no CHECK constraint
* in the current schema, so runtime validation of 'formula' happens entirely
* in the Zod layer (base.schemas.ts). This migration is intentionally empty —
* it exists to mark the formula property type release in the migration log.
*/
export async function up(_db: Kysely<any>): Promise<void> {
// no-op — formula type allowed at Zod layer
}
export async function down(_db: Kysely<any>): Promise<void> {
// no-op
}