From 30e37dfc3208e1e965daa84655c0e66c543c1663 Mon Sep 17 00:00:00 2001 From: bocharsky-bw Date: Fri, 2 Sep 2016 10:40:27 +0300 Subject: [PATCH 1/2] Do not create tables and load fixtures on Heroku deploy We already have SQLite DB with popuated fixtures --- app.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/app.json b/app.json index 29d21e83e..315be7624 100644 --- a/app.json +++ b/app.json @@ -9,9 +9,6 @@ "repository": "https://github.com/symfony/symfony-demo", "logo": "https://symfony.com/images/v5/pictos/demoapp.svg?v=4", "success_url": "/", - "scripts": { - "postdeploy": "php bin/console doctrine:schema:create && php bin/console doctrine:fixtures:load -n" - }, "env": { "SYMFONY_ENV": "prod", "SYMFONY_SECRET": { From 339126f441baed2c2f2f0098d05b452da1ba4718 Mon Sep 17 00:00:00 2001 From: bocharsky-bw Date: Fri, 2 Sep 2016 10:45:37 +0300 Subject: [PATCH 2/2] We do not need PostgreSQL addon anymore --- app.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/app.json b/app.json index 315be7624..87364d0cc 100644 --- a/app.json +++ b/app.json @@ -16,8 +16,5 @@ "generator": "secret" } }, - "addons": [ - "heroku-postgresql" - ], "image": "heroku/php" }