[discourse-web] Disable db:create task
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [discourse-web] Disable db:create task
- Date: Mon, 2 Mar 2020 19:24:24 +0000 (UTC)
commit cab778b10adcfa3e3adb16aa819bf64c9fac6f2a
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Mar 2 20:24:02 2020 +0100
Disable db:create task
init-dbmigration.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/init-dbmigration.sh b/init-dbmigration.sh
index f62f057..a5bb1bb 100644
--- a/init-dbmigration.sh
+++ b/init-dbmigration.sh
@@ -23,5 +23,8 @@ echo "--> DONE"
# Set environment as production
export RAILS_ENV="production"
-# Create or Migrate DB
-exec bundle exec rake db:create db:migrate
\ No newline at end of file
+# Create DB
+# exec bundle exec rake db:create
+
+# Run DB migrations
+exec bundle exec rake db:migrate
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]