- proc.sql
This file contains the procedures, functions and triggers relevant to our application.
- schema.sql
This file contains the relational schema for our application.
- All variables are named in CamelCase
- Constraints are indicated by being preceded by _c_
- Triggers are indicated by being preceded by _t_, and trigger functions by _tf_
- Functions are indicated by being preceded by _f_
- Procedures are indicated by being preceded by _p_
- All key constraints are written as table constraints
- All data integrity constraints involving a single attribute are written as column constraints