mirror of
https://github.com/go-home-admin/toolset.git
synced 2026-04-23 00:27:03 +08:00
2746bc49bf
fixed: 取消pgsql的default声明, pgsql的default大多为函数,会影响数据更新,应交由pgsql自身处理
13 lines
505 B
YAML
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. |