-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Criação da tabela contribuicao_log [Issue #728]
- Loading branch information
1 parent
6fe5cf1
commit 799efbc
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |