Releases: fuma-nama/fumadb
Releases · fuma-nama/fumadb
[email protected]
Patch Changes
- bbd0ac4: fix: prismaAdapter to handle unique constraint violations gracefully
[email protected]
Minor Changes
- 03ec630: feat: supports uuid column
[email protected]
Patch Changes
- 51bd4a2: adapter expose name field
[email protected]
Patch Changes
- f35742b: Simplify semver imports
[email protected]
Minor Changes
-
155c48b: [breaking] Change syntax for column builder to simplify types
import { table, column, idColumn } from "fumadb/schema"; const users = table("users", { // `defaultTo# fumadb for generated default value id: idColumn("id", "varchar(255)").defaultTo$("auto"), timestamp: column("timestamp", "date").defaultTo$("now"), name: column("name", "string").defaultTo$(() => myFn()), // or database-level default value image: column("image", "string").defaultTo("haha"), // nullable email: column("email", "string").nullable(), });
Patch Changes
[email protected]
Patch Changes
- a1dc58c: disallow disabling tables to avoid breaking relations
- 94a6168: Support internal version control on all adapters
- 009d838: Support backward compatible
orm()API, deprecateabstract - 65d9e96: Migrate SQLite specific transformations to dedicated transformer
- a0b2a88: Default to drop unused tables to avoid conflicts with custom
up/down - 8525880: Support name variants migration on consumer-side without history.
- 6158b45: Fix condition builder types
- 65d9e96: Support migration transformer API