From b20284f82177e69bf7a865a2d2ea9d454829cf00 Mon Sep 17 00:00:00 2001 From: Stefan Ziegler Date: Thu, 2 Jan 2020 17:51:44 +0100 Subject: [PATCH] Fix wrong h2 console link see e.g.: https://github.com/grails/grails-doc/commit/a953566500de846af5d3dfb2f776c0941c3a5965 --- src/main/docs/guide/databaseConsole.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/docs/guide/databaseConsole.adoc b/src/main/docs/guide/databaseConsole.adoc index b9be7c6..077b44e 100644 --- a/src/main/docs/guide/databaseConsole.adoc +++ b/src/main/docs/guide/databaseConsole.adoc @@ -1,6 +1,6 @@ If you run the app again, you should see the same page as before. However, you can login to the DB Console and view your new database table. -Browse to `http://localhost:8080/dbconsole` and login. The default username is `sa`, without a password. The default JDBC URL is: `jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE` +Browse to `http://localhost:8080/h2-console` and login. The default username is `sa`, without a password. The default JDBC URL is: `jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE` image::dbconsole.png[DB Console] @@ -8,4 +8,4 @@ NOTE: You can view the JDBC url in `application.yml`, under `environments` `deve Once you've logged in to the DB Console, you should see your new `VEHICLES` table in the left-hand sidebar. Click the `+` icon to expand the table - you should see a list of columns, including the three `String` fields we just defined, `name`, `make,` and `model`. -image::dbconsole-2.png[DB Console] \ No newline at end of file +image::dbconsole-2.png[DB Console]