Skip to content

Add files via upload - #1

Open
Demon6590 wants to merge 7 commits into
it-top-vrn:mainfrom
Demon6590:main
Open

Add files via upload#1
Demon6590 wants to merge 7 commits into
it-top-vrn:mainfrom
Demon6590:main

Conversation

@Demon6590

Copy link
Copy Markdown

Моё понимание как делать таблицу заканчиваются

@Demon6590

Copy link
Copy Markdown
Author

Чернятин Дмитрий

@anst-foto anst-foto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👎

Comment thread db_postgres.sql Outdated
product_type_id INT NOT NULL,
product_quantity INT NOT NULL CHECK (product_quantity >= 0),
cost_price NUMERIC NOT NULL CHECK (cost_price > 0.0),
manufacturer_id INT NOT NULL,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread db_postgres.sql Outdated
cost_price NUMERIC NOT NULL CHECK (cost_price > 0.0),
manufacturer_id INT NOT NULL,
sale_price NUMERIC NOT NULL CHECK (sale_price > 0.0),
FOREIGN KEY (id) REFERENCES table_sales (product_name_id)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread db_postgres.sql Outdated
first_name TEXT NOT NULL CHECK (first_name <> ''),
last_name TEXT NOT NULL CHECK (last_name <> ''),
patronymic TEXT NULL CHECK (patronymic <> ''),
post_id INT NOT NULL,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread db_postgres.sql Outdated
patronymic TEXT NULL CHECK (patronymic <> ''),
post_id INT NOT NULL,
date_admission DATE NOT NULL,
gender TEXT CHECK (gender == 'M' or gender == 'F'),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ ENUM ❓

@anst-foto anst-foto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Переделать

@anst-foto anst-foto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Доделать

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