Fix bugs, improve schema gen
This commit is contained in:
+3
-3
@@ -1,11 +1,11 @@
|
||||
import type { BUN_MARIADB_FieldSchemaType, BUN_MARIADB_TableSchemaType, BunMariaDBConfig } from "../../types";
|
||||
import type { BUN_MARIADB_FieldSchemaType, BUN_MARIADB_ForeignKeyRule, BUN_MARIADB_TableSchemaType, BunMariaDBConfig } from "../../types";
|
||||
export type DesiredForeignKey = {
|
||||
name: string;
|
||||
column: string;
|
||||
refTable: string;
|
||||
refColumn: string;
|
||||
cascadeDelete: boolean;
|
||||
cascadeUpdate: boolean;
|
||||
onDelete: BUN_MARIADB_ForeignKeyRule;
|
||||
onUpdate: BUN_MARIADB_ForeignKeyRule;
|
||||
field: BUN_MARIADB_FieldSchemaType;
|
||||
};
|
||||
export type LiveForeignKey = {
|
||||
|
||||
Reference in New Issue
Block a user