Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 grails 项目,并且正在审核一些域类,我想查看审核日志插件保存的信息,但找不到 audit_log 的创建位置。
如果使用 database-migration 插件,则需要执行“grails dbm-gorm-diff”为下次启动应用程序时创建的审计日志表创建迁移补丁。
是的,如果您安装审计日志插件,如果您的设置是其中之一,它应该自动添加一个audit_log表到您的数据库dbCreateDataSource.groovy
audit_log
dbCreate
DataSource.groovy
create
create-drop
update
我假设您使用的是 Grails 1.X 或 2.X?