# Copyright (c) 2025, JINGROW and contributors
# For license information, please see license.txt

"""
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("数据库迁移完成")
