Controlador de bodega
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user