You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 regels
368 B

  1. package common
  2. const (
  3. DatabaseTypeMySQL = "mysql"
  4. DatabaseTypeSQLite = "sqlite"
  5. DatabaseTypePostgreSQL = "postgres"
  6. )
  7. var UsingSQLite = false
  8. var UsingPostgreSQL = false
  9. var LogSqlType = DatabaseTypeSQLite // Default to SQLite for logging SQL queries
  10. var UsingMySQL = false
  11. var UsingClickHouse = false
  12. var SQLitePath = "one-api.db?_busy_timeout=30000"