mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-31 09:40:00 +00:00
5 lines
213 B
Bash
Executable file
5 lines
213 B
Bash
Executable file
#!/bin/bash
|
|
|
|
psql -U lemmy -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
|
|
cat docker/dev/lemmy_dump_2021-01-29_16_13_40.sqldump | psql -U lemmy
|
|
psql -U lemmy -c "alter user lemmy with password 'password'"
|