feat: live module and jenkins pipeline to harbor deploy
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package livechat
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
"kra/pkg/database/migration"
|
||||
)
|
||||
|
||||
func Migrations() []migration.Step {
|
||||
return []migration.Step{{ID: "202609190007_live_chat_schema", Migrate: func(db *gorm.DB) error {
|
||||
return migration.CreateMissingTables(db, &messagePO{})
|
||||
}}}
|
||||
}
|
||||
Reference in New Issue
Block a user