dnote/scripts/dump_schema.sh
Sung Won Cho e7940229cf
Use SQLite (#119)
* Make commands use sqlite

* Migrate system

* Fix tests to use sqlite

* Write test for reducer

* Avoid corrupt state in case error occurs in client after server succeeds

* Export test functions
2018-09-24 06:25:53 +10:00

5 lines
195 B
Bash
Executable file

#!/bin/bash
# dump_schema.sh dumps the current system's dnote schema to testutils package
# to be used while setting up tests
sqlite3 ~/.dnote/dnote.db .schema > ./testutils/fixtures/schema.sql