简化jingrow的hooks文件
This commit is contained in:
parent
7e5ecf79b4
commit
eed34b73e4
@ -1,27 +1,8 @@
|
||||
# Copyright (c) 2025, JINGROW and contributors
|
||||
# For license information, please see license.txt
|
||||
# Copyright (c) 2025, JINGROW
|
||||
|
||||
"""
|
||||
Jingrow Local 应用钩子
|
||||
与 SaaS 版完全一致的钩子实现
|
||||
"""
|
||||
|
||||
def on_install():
|
||||
"""应用安装时触发"""
|
||||
print("Jingrow Local 应用已安装")
|
||||
|
||||
def on_uninstall():
|
||||
"""应用卸载时触发"""
|
||||
print("Jingrow Local 应用已卸载")
|
||||
|
||||
def on_update():
|
||||
"""应用更新时触发"""
|
||||
print("Jingrow Local 应用已更新")
|
||||
|
||||
def before_migrate():
|
||||
"""数据库迁移前触发"""
|
||||
print("准备数据库迁移")
|
||||
|
||||
def after_migrate():
|
||||
"""数据库迁移后触发"""
|
||||
print("数据库迁移完成")
|
||||
app_name = "jingrow"
|
||||
app_title = "Jingrow"
|
||||
app_publisher = "Jingrow"
|
||||
app_description = "Jingrow"
|
||||
app_email = "support@jingrow.com"
|
||||
app_license = "mit"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user