dist/pvv.sql -> dist/pvv_sqlite.sql
This commit is contained in:
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
|
"description" TEXT
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE "projects" (
|
CREATE TABLE "projects" (
|
||||||
"id" INTEGER PRIMARY KEY AUTOINCREMENT,
|
"id" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
"name" TEXT,
|
"name" TEXT,
|
||||||
"description" 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/'
|
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
|
# 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
|
test -e config.php || cp -v dist/config.local.php config.php
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user