Cleanup
This commit is contained in:
@@ -47,5 +47,10 @@ To write new inserts into the DB generate sql files with js in the src/**test**/
|
|||||||
|
|
||||||
When you have the data you need in the db, write tests in all.test.ts file following the pattern already set.
|
When you have the data you need in the db, write tests in all.test.ts file following the pattern already set.
|
||||||
|
|
||||||
---
|
### Dump database scheme
|
||||||
pg_dump -U postgres --schema-only --no-owner --no-acl photowall > src/__test__/db/schema.sql
|
|
||||||
|
pg_dump -U postgres \
|
||||||
|
--schema-only \
|
||||||
|
--no-owner \
|
||||||
|
--no-acl \
|
||||||
|
photowall > src/__test__/db/schema.sql
|
||||||
|
|||||||
Reference in New Issue
Block a user