hydra/src/lib/Hydra
Graham Christensen c2f932a7e3
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.
2020-02-06 12:23:47 -05:00
..
Base/Controller Remove nix-install-package support 2018-01-15 14:27:58 +01:00
Component Get rid of old ToJSON code path 2013-10-25 11:09:11 -04:00
Controller job prometheus endpoint: drop nixname, too variable 2019-12-29 16:37:13 -05:00
Helper Add cancel-build role 2019-11-05 22:56:01 +01:00
Model Turn prepared statements back on 2013-02-25 21:20:52 +01:00
Plugin Fix error in GitlabStatus plugin 2019-08-15 13:55:47 +02:00
Schema sql: Generate models from postgresql 2020-02-06 12:23:47 -05:00
Script Add hydra-dev-server which uses the classic Catalyst server 2019-01-22 20:34:21 -05:00
View Allow channels to be usefully imported by other nix expressions. 2018-05-25 11:22:20 -04:00
Plugin.pm Plugins: Add isEnabled method 2019-08-13 18:18:25 +02:00
Schema.pm Keep track of the database schema version 2011-12-05 14:29:29 +01:00