From 8a1ff1a26586f8deb48a1a7e69182d550b455576 Mon Sep 17 00:00:00 2001 From: h7x4 <h7x4@nani.wtf> Date: Tue, 18 Mar 2025 21:10:48 +0100 Subject: [PATCH] dist/pvv.sql -> dist/pvv_sqlite.sql --- dist/{pvv.sql => pvv_sqlite.sql} | 2 +- nix/shell.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename dist/{pvv.sql => pvv_sqlite.sql} (96%) diff --git a/dist/pvv.sql b/dist/pvv_sqlite.sql similarity index 96% rename from dist/pvv.sql rename to dist/pvv_sqlite.sql index 08333f5..83c6b93 100644 --- a/dist/pvv.sql +++ b/dist/pvv_sqlite.sql @@ -8,7 +8,7 @@ CREATE TABLE "events" ( "description" TEXT ); -CREATE TABLE "projects" ( +CREATE TABLE "projects" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "name" TEXT, "description" TEXT, diff --git a/nix/shell.nix b/nix/shell.nix index 468c89c..681eafb 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -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