Controlador de bodega

This commit is contained in:
2021-07-20 03:17:55 -04:00
parent a5b91eb585
commit 245c8bfa4b
9 changed files with 242 additions and 4 deletions

View File

@@ -334,8 +334,8 @@ create table bodega_egresos
(
unidades numeric not null,
fecha timestamptz not null,
ingrediente_id uuid references ingredientes,
restaurante_id uuid references restaurantes,
ingrediente_id uuid not null,
restaurante_id uuid not null,
created_at timestamptz not null default current_timestamp,
updated_at timestamptz not null default current_timestamp,
deleted_at timestamptz
@@ -345,8 +345,8 @@ create table bodega_ingresos
(
unidades numeric not null,
fecha timestamptz not null,
ingrediente_id uuid references ingredientes,
restaurante_id uuid references restaurantes,
ingrediente_id uuid not null,
restaurante_id uuid not null,
created_at timestamptz not null default current_timestamp,
updated_at timestamptz not null default current_timestamp,
deleted_at timestamptz