This website works better with JavaScript.
Home
Explore
Help
Sign In
jason
/
FPSMS-backend
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add two columns (timeSequence & complexity) to the db
master
kelvin.yau
2 days ago
parent
b5b8163e4e
commit
9ced75ed0a
2 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
src/main/java/com/ffii/fpsms/modules/master/entity/Bom.kt
+6
-0
src/main/resources/db/changelog/changes/20251213_01_KelvinY/01_add_timeSequence_complexity_to_bom.sql
+ 6
- 0
src/main/java/com/ffii/fpsms/modules/master/entity/Bom.kt
View File
@@ -26,6 +26,12 @@ open class Bom : BaseEntity<Long>() {
@Column
open var allergicSubstances: Int? = null
@Column
open var timeSequence: Int? = null
@Column
open var complexity: Int? = null
@JsonBackReference
@OneToOne
@JoinColumn(name = "itemId")
+ 6
- 0
src/main/resources/db/changelog/changes/20251213_01_KelvinY/01_add_timeSequence_complexity_to_bom.sql
View File
@@ -0,0 +1,6 @@
-- liquibase formatted sql
-- changeset KelvinY:add_timeSequence_complexity_to_bom
ALTER TABLE `fpsmsdb`.`bom`
ADD COLUMN `timeSequence` INT NULL DEFAULT 0 AFTER `allergicSubstances`,
ADD COLUMN `complexity` INT NULL DEFAULT 0 AFTER `timeSequence`;
Write
Preview
Loading…
Cancel
Save