Add database migration script.

This commit is contained in:
Krzysztof Płaczek committed 2024-03-25 09:53:09 +01:00
1 parent 16614316ec
commit 5dc1c9d9f0
5 files changed
+51 -4

No files matched your search

+1 -2
View File
@@ -11,8 +11,7 @@ if (php_sapi_name() !== 'cli') {
$capsule = new Capsule;
$capsule->addConnection([
'driver' => 'sqlite',
'database' => __DIR__ . '/database.sample.sqlite',
'prefix' => '',
'database' => __DIR__ . '/database.sqlite',
]);
$capsule->setAsGlobal();
$client = new GuzzleHttp\Client();