First!! :3 Existe una pequeña base de proyecto por ahora
This commit is contained in:
28
database/create.sql
Normal file
28
database/create.sql
Normal file
@@ -0,0 +1,28 @@
|
||||
drop table if exists egresos;
|
||||
drop table if exists tipos_egreso;
|
||||
|
||||
create table egresos(
|
||||
id int(10) unsigned primary key auto_increment,
|
||||
nro varchar(191) not null,
|
||||
descripcion varchar(191) not null,
|
||||
valor int(10) not null,
|
||||
tipo_id int(10) not null
|
||||
);
|
||||
|
||||
create table tipos_egreso(
|
||||
id int(10) unsigned primary key auto_increment,
|
||||
nombre varchar(191) not null
|
||||
);
|
||||
|
||||
insert into tipos_egreso (nombre) values
|
||||
('Guia Materia Prima'),
|
||||
('Factura Materia Prima'),
|
||||
('Factura Gastos Generales'),
|
||||
('Pago Partime'),
|
||||
('Gasto Menor Materia Prima'),
|
||||
('Gasto General Sin Respaldo'),
|
||||
('Gasto General Con Boleta'),
|
||||
('Anticipo Arriendo'),
|
||||
('Anticipo Personal'),
|
||||
('Retiros Gerencia'),
|
||||
('Otro');
|
||||
Reference in New Issue
Block a user