A basic postgres database setup with migrations for the vite_server project.
- To start the postgres run
docker/start_db.sh
- To stop the postgres container run
docker/stop_db.sh
- To clear the data in the database run
drop_data.sh
- To run migrations run
migrate.sh
with the version that is being upgraded to as the first argument. If no argument is given, the database will be upgraded to the latest version.