Closed natebass closed 8 months ago
Name | Link |
---|---|
Latest commit | 269822a5ee6d5c0e40b1d9cdb99c563bbd2cd388 |
Latest deploy log | https://app.netlify.com/sites/learningblocks/deploys/6542e9f0024b4000088e9044 |
I added a migration for the academicsessions table.
The primary keys might need to be adjusted for academicsessions. I am getting this error:
psycopg2.errors.NotNullViolation: null value in column "id" of relation "academicsessions" violates not-null constraint
DETAIL: Failing row contains (null, 994, active, null, Sample Academic Session, semester, null, null, 0).
This should be a working version of the Org model using the Orgs naming convention.
The rule is that the model's name has to match the table name. So, if we want the table name to be "orgs", then we need to call the model Orgs.