Before we build queries, and have them checked at compile-time, we need to tell the library about the tables in our schema.
- Table constructor
- Adding columns
- Declaring the Primary Key
- Declaring candidate keys
- Declaring default values
- Declaring generated columns
- Restricting UPDATE statements/Declaring mutable columns
- Disabling INSERT statements
- Disabling DELETE statements
- Declaring the schema name/database name
- Renaming the table