mirror of https://github.com/buster-so/buster.git
make file works
This commit is contained in:
parent
0997022da6
commit
df46d418fe
14
api/makefile
14
api/makefile
|
@ -11,13 +11,13 @@ dev:
|
||||||
nice cargo watch -C server -x run
|
nice cargo watch -C server -x run
|
||||||
|
|
||||||
update-seed:
|
update-seed:
|
||||||
PGPASSWORD=postgres pg_dump -h 127.0.0.1 -p 54322 -U postgres -d postgres \\
|
PGPASSWORD=postgres pg_dump -h 127.0.0.1 -p 54322 -U postgres -d postgres \
|
||||||
--data-only --no-owner --no-privileges \\
|
--data-only --no-owner --no-privileges \
|
||||||
--schema=public \\
|
--schema=public \
|
||||||
--exclude-table=schema_migrations \\
|
--exclude-table=schema_migrations \
|
||||||
--exclude-table=__diesel_schema_migrations \\
|
--exclude-table=__diesel_schema_migrations \
|
||||||
--exclude-table=migrations \\
|
--exclude-table=migrations \
|
||||||
--exclude-table=users \\
|
--exclude-table=users \
|
||||||
> libs/database/seed.sql
|
> libs/database/seed.sql
|
||||||
|
|
||||||
stop:
|
stop:
|
||||||
|
|
Loading…
Reference in New Issue