This commit is contained in:
2026-02-21 16:35:45 +03:30
parent 221e949f32
commit 408290bf5a
7 changed files with 51 additions and 91 deletions
+21 -63
View File
@@ -345,68 +345,6 @@
},
"nativeEnums": {}
},
{
"columns": {
"id": {
"name": "id",
"type": "char(26)",
"unsigned": false,
"autoincrement": false,
"primary": false,
"nullable": false,
"length": 26,
"mappedType": "character"
},
"created_at": {
"name": "created_at",
"type": "timestamptz",
"unsigned": false,
"autoincrement": false,
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"deleted_at": {
"name": "deleted_at",
"type": "timestamptz",
"unsigned": false,
"autoincrement": false,
"primary": false,
"nullable": true,
"length": 6,
"mappedType": "datetime"
},
"title": {
"name": "title",
"type": "varchar(255)",
"unsigned": false,
"autoincrement": false,
"primary": false,
"nullable": false,
"length": 255,
"mappedType": "string"
}
},
"name": "order_types",
"schema": "public",
"indexes": [
{
"keyName": "order_types_pkey",
"columnNames": [
"id"
],
"composite": false,
"constraint": true,
"primary": true,
"unique": true
}
],
"checks": [],
"foreignKeys": {},
"nativeEnums": {}
},
{
"columns": {
"phone": {
@@ -2723,6 +2661,26 @@
"primary": false,
"nullable": false,
"mappedType": "json"
},
"printery": {
"name": "printery",
"type": "varchar(255)",
"unsigned": false,
"autoincrement": false,
"primary": false,
"nullable": true,
"length": 255,
"mappedType": "string"
},
"lithography": {
"name": "lithography",
"type": "varchar(255)",
"unsigned": false,
"autoincrement": false,
"primary": false,
"nullable": true,
"length": 255,
"mappedType": "string"
}
},
"name": "orders",
@@ -2786,7 +2744,7 @@
"referencedColumnNames": [
"id"
],
"referencedTableName": "public.order_types",
"referencedTableName": "public.categories",
"updateRule": "cascade"
},
"orders_user_id_foreign": {