dist/pvv.sql -> dist/pvv_sqlite.sql

This commit is contained in:
Oystein Kristoffer Tveit 2025-03-18 21:10:48 +01:00
parent c1802e7cf2
commit 8a1ff1a265
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 2 additions and 2 deletions

@ -8,7 +8,7 @@ CREATE TABLE "events" (
"description" TEXT
);
CREATE TABLE "projects" (
CREATE TABLE "projects" (
"id" INTEGER PRIMARY KEY AUTOINCREMENT,
"name" TEXT,
"description" TEXT,

@ -16,7 +16,7 @@ pkgs.mkShellNoCC {
alias runDev='php -S localhost:1080 -d error_reporting=E_ALL -d display_errors=1 -t www/'
# Prepare dev environment with sqlite and config files
test -e pvv.sqlite || sqlite3 pvv.sqlite < dist/pvv.sql
test -e pvv.sqlite || sqlite3 pvv.sqlite < dist/pvv_sqlite.sql
test -e config.php || cp -v dist/config.local.php config.php