Files
toolset/config/database.yaml
zodial 2746bc49bf feat: 在数据库配置中指定时间维护字段
fixed: 取消pgsql的default声明, pgsql的default大多为函数,会影响数据更新,应交由pgsql自身处理
2024-11-21 11:01:27 +08:00

13 lines
505 B
YAML

connections:
mysql:
driver: mysql
host: env("DB_HOST")
port: env("DB_PORT")
database: env("DB_DATABASE")
username: env("DB_USERNAME")
password: env("DB_PASSWORD")
# If you need to specify maintenance time fields, declare the following settings.
# The following values are the default; if they are consistent, you do not need to declare them.
#created_field: created_at
#updated_field: updated_at
#deleted_field: deleted_at # The soft delete mechanism in Gorm.