This website works better with JavaScript.
首頁
探索
說明
登入
jason
/
FPSMS-backend
關註
2
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
add two columns (timeSequence & complexity) to the db
master
kelvin.yau
3 天之前
父節點
b5b8163e4e
當前提交
9ced75ed0a
共有
2 個文件被更改
,包括
12 次插入
和
0 次删除
分割檢視
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
查看文件
@@ -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
查看文件
@@ -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…
取消
儲存