Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alterações no módulo de contribuição durante a semana 09/09 até 13/09 #698

Merged
merged 8 commits into from
Sep 13, 2024

Conversation

GabrielPintoSouza
Copy link
Collaborator

Alteração na tabela contribuicao_conjuntoRegras:
CREATE TABLE wegia.contribuicao_conjuntoRegras (
id INT AUTO_INCREMENT PRIMARY KEY,
id_meioPagamento INT,
id_regra INT,
valor DECIMAL(10, 2),
CONSTRAINT fk_contribuicao_meioPagamento FOREIGN KEY (id_meioPagamento) REFERENCES wegia.contribuicao_meioPagamento(id),
CONSTRAINT fk_contribuicao_regras FOREIGN KEY (id_regra) REFERENCES wegia.contribuicao_regras(id),
CONSTRAINT unico_meioPagamento_regra UNIQUE (id_meioPagamento, id_regra)
) ENGINE = InnoDB;

Adição de dados nas tabelas de recurso e módulos visíveis
INSERT INTO recurso (id_recurso, descricao) VALUES ('7', 'Módulo Contribuição');

INSERT INTO modulos_visiveis (id_recurso, visivel) VALUES (7, 1);

@nilsonLazarin nilsonLazarin merged commit 83dc0fb into pre-master Sep 13, 2024
@nilsonLazarin nilsonLazarin deleted the contribuicao240909 branch September 13, 2024 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants