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

Design da Database #10

Open
lknknm opened this issue Aug 8, 2023 · 1 comment
Open

Design da Database #10

lknknm opened this issue Aug 8, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@lknknm
Copy link
Owner

lknknm commented Aug 8, 2023

Descrição

Precisamos definir o design da Database que irá compor o projeto para o registro de pedidos e usuários e assim dar início ao projeto de Back-End.
Como ideia, deixo como sugestão inicial as seguintes tabelas que deveremos pensar/criar.
Caso tenham outras sugestões, coloquem nos comentários abaixo:

CREATE TABLE users (
    ...
);
CREATE TABLE menu (
    dish_id PRIMARY KEY AUTOINCREMENT NOT NULL,
    category TEXT NOT NULL,
    dish TEXT NOT NULL,
    ingredients TEXT,
    price NUMERIC
);
CREATE TABLE orders (
    ...
);
CREATE TABLE shopping_cart (
    ...
);
@lknknm lknknm converted this from a draft issue Aug 8, 2023
@lknknm lknknm moved this from Sprint to 🏗 In progress in REZ-menu-app Aug 10, 2023
@lknknm
Copy link
Owner Author

lknknm commented Aug 10, 2023

@andavgc @mnettoo Implementei um Schema básico em SQL no commit: daf0350
Será necessário setar uma base de dados local com esse schema para poder testar.
Por favor, revisem. Podemos falar mais a respeito depois.

@lknknm lknknm added the help wanted Extra attention is needed label Aug 16, 2023
@andavgc andavgc moved this from 🏗 In progress to Sprint in REZ-menu-app Aug 22, 2023
This was referenced Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: Sprint
Development

No branches or pull requests

1 participant