Commit graph

13 commits

Author SHA1 Message Date
Luca Palmieri
7a797cc0d7 Update sqlx to 0.7 2023-09-20 09:46:18 +02:00
Luca Palmieri
8262c10fd0 Update outdated dependencies 2023-02-18 22:47:02 +00:00
Luca Palmieri
97a4833f71 Update CI. 2023-02-18 18:41:05 +00:00
Luca Palmieri
c5f1a76368 Update deps 2022-10-01 14:37:44 +01:00
Luca P
3c42369a1d Update all dependencies 2022-07-05 18:43:30 +01:00
Luca P
df6bdea82b Last part of chapter 10 - sessions, seed users and change password form 2022-03-12 19:05:53 +00:00
Luca Palmieri
4d96b887cb Do not use backticks - they lead to the script trying to execute the quoted command. 2021-12-28 12:20:13 +01:00
Luca Palmieri
0c989497fc Proactively verify if psql and sqlx are installed before moving forward with script execution. 2021-07-05 09:00:04 +02:00
Luca Palmieri
517f7e4728 Fix migration script. 2021-04-28 20:42:24 +01:00
LukeMathWalker
50798e8e67 Update db script. 2021-04-02 11:51:23 +01:00
dkulla01
ac90bcbb79
Exit if dockerized postgres is already running (#86)
This creates the postgres container with a "postgres_<timestamp>" name.
This lets us check for an existing, running, postgres container and
exit early if it already exists. It's a little more clear/explicit than
the "port 5432 already in use" error message that results from rerunning
the script, and it addresses the gotcha in footnote 30
2021-04-02 11:41:14 +01:00
Filmon Arefayne
537f2e783e
Update init_db.sh (#87)
Quote also the user variable
2021-04-02 11:40:49 +01:00
Luca Palmieri
1f0b14c248 Refactor structure to use one root branch per chapter. 2020-12-05 17:19:11 +00:00