260222:1053 20260222 refactor specs/ #1 03-Data-and-Storage
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
This commit is contained in:
18
specs/99-archives/history/2025-12-20-Revise-Schema.md
Normal file
18
specs/99-archives/history/2025-12-20-Revise-Schema.md
Normal file
@@ -0,0 +1,18 @@
|
||||
## TABLE contract_drawings:
|
||||
- change sub_cat_id -> map_cat_id
|
||||
- add volume_page INT COMMENT 'หน้าที่',
|
||||
## TABLE contract_drawing_subcat_cat_maps
|
||||
- alter id INT PRIMARY KEY AUTO_INCREMENT COMMENT 'ID ของตาราง',
|
||||
## TABLE shop_drawing_sub_categories
|
||||
- delete main_category_id
|
||||
- add project_id INT NOT NULL COMMENT 'โครงการ',
|
||||
## TABLE shop_drawing_main_categories
|
||||
- add project_id INT NOT NULL COMMENT 'โครงการ',
|
||||
## TABLE shop_drawings
|
||||
- delete title
|
||||
## TABLE shop_drawing_revisions
|
||||
- add title
|
||||
- add legacy_drawing_number VARCHAR(100) NULL COMMENT 'เลขที่เดิมของ Shop Drawing',
|
||||
## TABLE asbuilt_drawings
|
||||
## TABLE asbuilt_drawing_revisions
|
||||
## TABLE asbuilt_revision_shop_revisions_refs
|
||||
Reference in New Issue
Block a user