dist/pvv.sql -> dist/pvv_sqlite.sql
This commit is contained in:
parent
c1802e7cf2
commit
8a1ff1a265
2
dist/pvv.sql → dist/pvv_sqlite.sql
vendored
2
dist/pvv.sql → dist/pvv_sqlite.sql
vendored
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user