Skip to content

Commit d6f7dab

Browse files
ISSUE-83: Fix DATABASE_URL in .env
1 parent 4a3ba77 commit d6f7dab

File tree

7 files changed

+4
-17
lines changed

7 files changed

+4
-17
lines changed

.env.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ SYMFONY_DEPRECATIONS_HELPER=999999
66
PANTHER_APP_ENV=panther
77
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
88

9-
109
ATHLETE_BIRTHDAY=1989-08-14
1110
FTP_VALUES='{
1211
"2023-04-01": 198,

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ services:
6161
### .env
6262
6363
```bash
64-
# Leave this unchanged.
65-
DATABASE_URL="sqlite:///%kernel.project_dir%/storage/database/strava.db?charset=utf8mb4"
66-
6764
# The client id of your Strava app.
6865
STRAVA_CLIENT_ID=YOUR_CLIENT_ID
6966
# The client secret of your Strava app.

config/packages/doctrine.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
doctrine:
22
dbal:
3-
url: '%env(resolve:DATABASE_URL)%'
4-
5-
# IMPORTANT: You MUST configure your server version,
6-
# either here or in the DATABASE_URL env var (see .env file)
7-
#server_version: '16'
8-
3+
url: 'sqlite:///%kernel.project_dir%/storage/database/strava.db?charset=utf8mb4'
94
profiling_collect_backtrace: '%kernel.debug%'
105
use_savepoints: true
116
orm:

config/services.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
parameters:
77
env(UnitSystem): 'metric'
88
env(ACTIVITY_TYPES_TO_IMPORT): '["Ride", "VirtualRide"]'
9-
env(DATABASE_URL): "sqlite:///%kernel.project_dir%/storage/database/strava.db?charset=utf8mb4"
109

1110
services:
1211
# default configuration for services in *this* file

config/services_test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33

44
# Put parameters here that don't need to change on each machine where the app is deployed
55
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
6-
parameters:
7-
env(DATABASE_URL): "sqlite:///%kernel.project_dir%/tests/strava.db?charset=utf8mb4"
8-
96
services:
107
# default configuration for services in *this* file
118
_defaults:

src/Domain/Strava/BuildHtmlVersion/BuildHtmlVersionCommandHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
final readonly class BuildHtmlVersionCommandHandler implements CommandHandler
6565
{
66-
private const string APP_VERSION = 'v0.2.7';
66+
private const string APP_VERSION = 'v0.2.8';
6767

6868
public function __construct(
6969
private ActivityRepository $activityRepository,

tests/Domain/Strava/BuildHtmlVersion/__snapshots__/BuildHtmlVersionCommandHandlerTest--testHandle--buildhtmlindex.html.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@
214214
</a>
215215
</div>
216216
<div class="flex justify-center gap-x-1 text-xs text-center text-gray-500">
217-
<span>v0.2.7</span>
218-
<span class="hidden" data-latest-version data-current-version="v0.2.7">
217+
<span>v0.2.8</span>
218+
<span class="hidden" data-latest-version data-current-version="v0.2.8">
219219
(latest: <a class="underline" href="https://github.com/robiningelbrecht/strava-statistics/releases/tag/%5BLATEST_VERSION%5D">[LATEST_VERSION]</a>)
220220
</span>
221221
</div>

0 commit comments

Comments
 (0)