aboutsummaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2022-11-11 11:54:42 -0500
committerThedro Neely <thedroneely@gmail.com>2022-11-11 11:54:42 -0500
commit94506f031c348c3fd0e1f2bb33e8b88dc0d4659f (patch)
tree22b71d490445c7285dbaa3eec939391b6d327a96 /config.php
parentabdbac031912a395c7524ad0e6f5c70c918531b2 (diff)
downloadthedroneely.com-94506f031c348c3fd0e1f2bb33e8b88dc0d4659f.tar.gz
thedroneely.com-94506f031c348c3fd0e1f2bb33e8b88dc0d4659f.tar.bz2
thedroneely.com-94506f031c348c3fd0e1f2bb33e8b88dc0d4659f.zip
database: Swap to sqlite
Diffstat (limited to 'config.php')
-rw-r--r--config.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/config.php b/config.php
index 715eb48..7af1076 100644
--- a/config.php
+++ b/config.php
@@ -2,10 +2,9 @@
return [
'database' => [
- 'name' => 'pgsql_database',
- 'username' => 'pgsql_username',
- 'password' => 'pgsql_password',
- 'connection' => 'pgsql:',
+ 'dsn' => 'sql:;dbname=sql_database',
+ 'username' => 'sql_username',
+ 'password' => 'sql_password',
'options' => [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
]