Skip to content

Commit

Permalink
Criação da tabela contribuicao_log [Issue #728]
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielPintoSouza committed Sep 25, 2024
1 parent 6fe5cf1 commit 799efbc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions html/apoio/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*Nota*

Os arquivos contidos dentro da pasta `html/apoio/` fazem referência a \_refatoração\_ do módulo de
`contribuicao` e portanto devem substituir o conteúdo interno da pasta de `html/contribuicao/`
15 changes: 15 additions & 0 deletions html/apoio/tabelas.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-- Posteriormente adicionar as tabelas desse arquivo ao banco de dados central do sistema
CREATE TABLE IF NOT EXISTS `wegia`.`contribuicao_log` (
`id` INT NULL DEFAULT NULL AUTO_INCREMENT,
`id_socio` INT(11) NOT NULL,
`codigo` VARCHAR(255) NOT NULL UNIQUE,
`valor` DECIMAL(10,2) NOT NULL,
`data_geracao` DATE NOT NULL,
`data_vencimento` DATE NOT NULL,
`status_pagamento` BOOLEAN NOT NULL,
PRIMARY KEY (`id`),
CONSTRAINT `FK_id_socios`
FOREIGN KEY (`id_socio`)
REFERENCES `wegia`.`socio` (`id_socio`)
)
ENGINE = InnoDB;

0 comments on commit 799efbc

Please sign in to comment.