sql: Generate models from postgresql

Lowercasing is due to postgresql not having case-sensitive table names. It always technically workde before, but those table names never existed literally.

The switch to generating from postgresql is to handle an upcoming addition of an auto-incrementign ID to the Jobset table. Sqlite doesn't seem to be able to handle the table having an auto incrementing ID field which isn't the primary key, but we can't change the primary key trivially.

Since hydra doesn't support sqlite and hasn't for many year anyway, it is easier to just generate from pgsql directly.

Created by  Graham Christensen  on February 6, 2020
IGR322YPZG7IX33I6CSF4ZIHFKXCT4ERC2LC73MW6PN7W53D73BAC
Dependencies
In channels
main
upstream
Change contents