mirror of
https://github.com/aclindsa/moneygo.git
synced 2024-09-21 12:20:04 -04:00
This is done by requiring 'parseTime=true' in the MySQL DSN's (required by github.com/go-sql-driver/mysql when Scan()ing to time.Time's), and not forcing update counts to match if rows were updated to what they already were.
28 lines
1.1 KiB
INI
28 lines
1.1 KiB
INI
[moneygo]
|
|
|
|
# Whether to serve as FastCGI (default is false, for HTTP)
|
|
fcgi = false
|
|
|
|
# Port to serve FCGI or HTTP on
|
|
port = 8080
|
|
|
|
# Base directory for serving files out of. This should point to the root of the
|
|
# moneygo source directory
|
|
base-directory = src/github.com/aclindsa/moneygo/
|
|
|
|
# Type of database being used (sqlite3, mysql, postgres)
|
|
db-type = sqlite3
|
|
|
|
# 'Data Source Name' for the database being used. This is driver-specific. See
|
|
# the following examples and external resources for more information about
|
|
# configuring this for your particular database configuration:
|
|
#
|
|
# Sqlite example DSN: "file:moneygo.sqlite?cache=shared&mode=rwc"
|
|
# MySQL documentation: https://github.com/go-sql-driver/mysql/#dsn-data-source-name
|
|
# example DSN: "user:password@localhost/dbname&parseTime=true"
|
|
# (Note: MySQL DSN's *must* include the
|
|
# "parseTime=true" parameter)
|
|
# Postgres documentation: https://godoc.org/github.com/lib/pq
|
|
# example DSN: "postgres://user:password@localhost/dbname"
|
|
db-dsn = file:moneygo.sqlite?cache=shared&mode=rwc
|