mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-29 14:21:34 +00:00
4e5798852f
Previously, these scripts wouldn't work on exotic systems such as NixOS. ``` fd '\.sh$' -t f --exec sed -i 's@#!/bin/bash@#!/usr/bin/env bash@' ```
5 lines
217 B
Bash
Executable file
5 lines
217 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
psql -U lemmy -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
|
|
cat docker/lemmy_dump_2021-01-29_16_13_40.sqldump | psql -U lemmy
|
|
psql -U lemmy -c "alter user lemmy with password 'password'"
|