Updates migrations
To get the app working again I ran resetdb, let it crash in initdb, then ran the migration, then re-ran initdb
This commit is contained in:
parent
d1f1260640
commit
c7883cd615
106 changed files with 279 additions and 279 deletions
|
@ -66,13 +66,13 @@ You will need postgres installed and running on your computer.
|
|||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
createdb fedireads
|
||||
createdb bookwyrm
|
||||
```
|
||||
|
||||
Create the psql user in `psql fedireads`:
|
||||
Create the psql user in `psql bookwyrm`:
|
||||
``` psql
|
||||
CREATE ROLE fedireads WITH LOGIN PASSWORD 'fedireads';
|
||||
GRANT ALL PRIVILEGES ON DATABASE fedireads TO fedireads;
|
||||
CREATE ROLE bookwyrm WITH LOGIN PASSWORD 'bookwyrm';
|
||||
GRANT ALL PRIVILEGES ON DATABASE bookwyrm TO bookwyrm;
|
||||
```
|
||||
|
||||
Initialize the database (or, more specifically, delete the existing database, run migrations, and start fresh):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue