My retail simulation project database codes
This project uses postgres as rdbms.
- Create a postgres database somewhere
- Log in and create retail database using
create_db.sql
- Change connection to new database and executes
update_at_trigger.sql
to create the update_at trigger - Executes the
create_tables.sql
to create the schemas and tables - Run
bash dump_data.sh HOST PORT DATABASE USER PASSWORD
to dump initial data.