remove unused modules
This commit is contained in:
@@ -1742,8 +1742,8 @@
|
||||
"default": "true",
|
||||
"mappedType": "boolean"
|
||||
},
|
||||
"food_categories": {
|
||||
"name": "food_categories",
|
||||
"product_categories": {
|
||||
"name": "product_categories",
|
||||
"type": "jsonb",
|
||||
"unsigned": false,
|
||||
"autoincrement": false,
|
||||
@@ -1751,8 +1751,8 @@
|
||||
"nullable": true,
|
||||
"mappedType": "json"
|
||||
},
|
||||
"foods": {
|
||||
"name": "foods",
|
||||
"products": {
|
||||
"name": "products",
|
||||
"type": "jsonb",
|
||||
"unsigned": false,
|
||||
"autoincrement": false,
|
||||
@@ -2404,11 +2404,11 @@
|
||||
"mappedType": "boolean"
|
||||
}
|
||||
},
|
||||
"name": "foods",
|
||||
"name": "products",
|
||||
"schema": "public",
|
||||
"indexes": [
|
||||
{
|
||||
"keyName": "foods_created_at_index",
|
||||
"keyName": "products_created_at_index",
|
||||
"columnNames": [
|
||||
"created_at"
|
||||
],
|
||||
@@ -2418,7 +2418,7 @@
|
||||
"unique": false
|
||||
},
|
||||
{
|
||||
"keyName": "foods_deleted_at_index",
|
||||
"keyName": "products_deleted_at_index",
|
||||
"columnNames": [
|
||||
"deleted_at"
|
||||
],
|
||||
@@ -2428,7 +2428,7 @@
|
||||
"unique": false
|
||||
},
|
||||
{
|
||||
"keyName": "foods_is_active_index",
|
||||
"keyName": "products_is_active_index",
|
||||
"columnNames": [
|
||||
"is_active"
|
||||
],
|
||||
@@ -2438,7 +2438,7 @@
|
||||
"unique": false
|
||||
},
|
||||
{
|
||||
"keyName": "foods_category_id_is_active_index",
|
||||
"keyName": "products_category_id_is_active_index",
|
||||
"columnNames": [
|
||||
"category_id",
|
||||
"is_active"
|
||||
@@ -2449,7 +2449,7 @@
|
||||
"unique": false
|
||||
},
|
||||
{
|
||||
"keyName": "foods_restaurant_id_is_active_index",
|
||||
"keyName": "products_restaurant_id_is_active_index",
|
||||
"columnNames": [
|
||||
"restaurant_id",
|
||||
"is_active"
|
||||
@@ -2460,7 +2460,7 @@
|
||||
"unique": false
|
||||
},
|
||||
{
|
||||
"keyName": "foods_pkey",
|
||||
"keyName": "products_pkey",
|
||||
"columnNames": [
|
||||
"id"
|
||||
],
|
||||
@@ -2472,24 +2472,24 @@
|
||||
],
|
||||
"checks": [],
|
||||
"foreignKeys": {
|
||||
"foods_restaurant_id_foreign": {
|
||||
"constraintName": "foods_restaurant_id_foreign",
|
||||
"products_restaurant_id_foreign": {
|
||||
"constraintName": "products_restaurant_id_foreign",
|
||||
"columnNames": [
|
||||
"restaurant_id"
|
||||
],
|
||||
"localTableName": "public.foods",
|
||||
"localTableName": "public.products",
|
||||
"referencedColumnNames": [
|
||||
"id"
|
||||
],
|
||||
"referencedTableName": "public.restaurants",
|
||||
"updateRule": "cascade"
|
||||
},
|
||||
"foods_category_id_foreign": {
|
||||
"constraintName": "foods_category_id_foreign",
|
||||
"products_category_id_foreign": {
|
||||
"constraintName": "products_category_id_foreign",
|
||||
"columnNames": [
|
||||
"category_id"
|
||||
],
|
||||
"localTableName": "public.foods",
|
||||
"localTableName": "public.products",
|
||||
"referencedColumnNames": [
|
||||
"id"
|
||||
],
|
||||
@@ -2543,8 +2543,8 @@
|
||||
"length": 6,
|
||||
"mappedType": "datetime"
|
||||
},
|
||||
"food_id": {
|
||||
"name": "food_id",
|
||||
"product_id": {
|
||||
"name": "product_id",
|
||||
"type": "char(26)",
|
||||
"unsigned": false,
|
||||
"autoincrement": false,
|
||||
@@ -2577,10 +2577,10 @@
|
||||
"indexes": [
|
||||
{
|
||||
"columnNames": [
|
||||
"food_id"
|
||||
"product_id"
|
||||
],
|
||||
"composite": false,
|
||||
"keyName": "inventory_food_id_unique",
|
||||
"keyName": "inventory_product_id_unique",
|
||||
"constraint": true,
|
||||
"primary": false,
|
||||
"unique": true
|
||||
@@ -2618,16 +2618,16 @@
|
||||
],
|
||||
"checks": [],
|
||||
"foreignKeys": {
|
||||
"inventory_food_id_foreign": {
|
||||
"constraintName": "inventory_food_id_foreign",
|
||||
"inventory_product_id_foreign": {
|
||||
"constraintName": "inventory_product_id_foreign",
|
||||
"columnNames": [
|
||||
"food_id"
|
||||
"product_id"
|
||||
],
|
||||
"localTableName": "public.inventory",
|
||||
"referencedColumnNames": [
|
||||
"id"
|
||||
],
|
||||
"referencedTableName": "public.foods",
|
||||
"referencedTableName": "public.products",
|
||||
"deleteRule": "cascade",
|
||||
"updateRule": "cascade"
|
||||
}
|
||||
@@ -4288,8 +4288,8 @@
|
||||
"length": 26,
|
||||
"mappedType": "character"
|
||||
},
|
||||
"food_id": {
|
||||
"name": "food_id",
|
||||
"product_id": {
|
||||
"name": "product_id",
|
||||
"type": "char(26)",
|
||||
"unsigned": false,
|
||||
"autoincrement": false,
|
||||
@@ -4405,9 +4405,9 @@
|
||||
"unique": false
|
||||
},
|
||||
{
|
||||
"keyName": "reviews_food_id_status_index",
|
||||
"keyName": "reviews_product_id_status_index",
|
||||
"columnNames": [
|
||||
"food_id",
|
||||
"product_id",
|
||||
"status"
|
||||
],
|
||||
"composite": true,
|
||||
@@ -4416,10 +4416,10 @@
|
||||
"unique": false
|
||||
},
|
||||
{
|
||||
"keyName": "reviews_order_id_food_id_user_id_unique",
|
||||
"keyName": "reviews_order_id_product_id_user_id_unique",
|
||||
"columnNames": [
|
||||
"order_id",
|
||||
"food_id",
|
||||
"product_id",
|
||||
"user_id"
|
||||
],
|
||||
"composite": true,
|
||||
@@ -4452,16 +4452,16 @@
|
||||
"referencedTableName": "public.orders",
|
||||
"updateRule": "cascade"
|
||||
},
|
||||
"reviews_food_id_foreign": {
|
||||
"constraintName": "reviews_food_id_foreign",
|
||||
"reviews_product_id_foreign": {
|
||||
"constraintName": "reviews_product_id_foreign",
|
||||
"columnNames": [
|
||||
"food_id"
|
||||
"product_id"
|
||||
],
|
||||
"localTableName": "public.reviews",
|
||||
"referencedColumnNames": [
|
||||
"id"
|
||||
],
|
||||
"referencedTableName": "public.foods",
|
||||
"referencedTableName": "public.products",
|
||||
"updateRule": "cascade"
|
||||
},
|
||||
"reviews_user_id_foreign": {
|
||||
@@ -4780,8 +4780,8 @@
|
||||
"length": 26,
|
||||
"mappedType": "character"
|
||||
},
|
||||
"food_id": {
|
||||
"name": "food_id",
|
||||
"product_id": {
|
||||
"name": "product_id",
|
||||
"type": "char(26)",
|
||||
"unsigned": false,
|
||||
"autoincrement": false,
|
||||
@@ -4858,9 +4858,9 @@
|
||||
"unique": false
|
||||
},
|
||||
{
|
||||
"keyName": "order_items_food_id_index",
|
||||
"keyName": "order_items_product_id_index",
|
||||
"columnNames": [
|
||||
"food_id"
|
||||
"product_id"
|
||||
],
|
||||
"composite": false,
|
||||
"constraint": false,
|
||||
@@ -4902,16 +4902,16 @@
|
||||
"referencedTableName": "public.orders",
|
||||
"updateRule": "cascade"
|
||||
},
|
||||
"order_items_food_id_foreign": {
|
||||
"constraintName": "order_items_food_id_foreign",
|
||||
"order_items_product_id_foreign": {
|
||||
"constraintName": "order_items_product_id_foreign",
|
||||
"columnNames": [
|
||||
"food_id"
|
||||
"product_id"
|
||||
],
|
||||
"localTableName": "public.order_items",
|
||||
"referencedColumnNames": [
|
||||
"id"
|
||||
],
|
||||
"referencedTableName": "public.foods",
|
||||
"referencedTableName": "public.products",
|
||||
"updateRule": "cascade"
|
||||
}
|
||||
},
|
||||
@@ -5159,8 +5159,8 @@
|
||||
"length": 26,
|
||||
"mappedType": "character"
|
||||
},
|
||||
"food_id": {
|
||||
"name": "food_id",
|
||||
"product_id": {
|
||||
"name": "product_id",
|
||||
"type": "char(26)",
|
||||
"unsigned": false,
|
||||
"autoincrement": false,
|
||||
@@ -5194,10 +5194,10 @@
|
||||
"unique": false
|
||||
},
|
||||
{
|
||||
"keyName": "favorites_user_id_food_id_unique",
|
||||
"keyName": "favorites_user_id_product_id_unique",
|
||||
"columnNames": [
|
||||
"user_id",
|
||||
"food_id"
|
||||
"product_id"
|
||||
],
|
||||
"composite": true,
|
||||
"constraint": true,
|
||||
@@ -5229,16 +5229,16 @@
|
||||
"referencedTableName": "public.users",
|
||||
"updateRule": "cascade"
|
||||
},
|
||||
"favorites_food_id_foreign": {
|
||||
"constraintName": "favorites_food_id_foreign",
|
||||
"favorites_product_id_foreign": {
|
||||
"constraintName": "favorites_product_id_foreign",
|
||||
"columnNames": [
|
||||
"food_id"
|
||||
"product_id"
|
||||
],
|
||||
"localTableName": "public.favorites",
|
||||
"referencedColumnNames": [
|
||||
"id"
|
||||
],
|
||||
"referencedTableName": "public.foods",
|
||||
"referencedTableName": "public.products",
|
||||
"updateRule": "cascade"
|
||||
}
|
||||
},
|
||||
@@ -5650,4 +5650,4 @@
|
||||
}
|
||||
],
|
||||
"nativeEnums": {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user