Jobs.jobset_id: make not-null
[?]
Feb 6, 2020, 12:42 AM
5ZRYT2YEUWY655IVH6GQBHXZJTE756X2TUCKTREFPKVDMRDYQWPQCDependencies
- [2]
SIDK2E7VJobs: add a nullable jobset_id foreign key to Jobsets. - [3]
JM3DPYOMgenerated schema with new dbix class schema loader, grrrrrr - [4]
IGR322YPsql: Generate models from postgresql - [5]
SB2V735VKeep track of the database schema version - [6]
KN3VYE5P* Cleaned up the foreign key constraints. - [7]
W5OAZWPDDrop the errorMsg column in the Jobs table - [8]
KSBB33REAdd a dashboard - [9]
T5BIOVJEAdd support for tracking custom metrics - [10]
S5PV6IIM* Represent jobs explicitly in the DB. - [11]
3PNG7NIBRemove trailing whitespace - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
D5QIOJGP* Move everything up one directory.
Change contents
- replacement in src/lib/Hydra/Schema/Jobs.pm at line 54
is_nullable: 1is_nullable: 0 - replacement in src/lib/Hydra/Schema/Jobs.pm at line 69
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 },{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, - replacement in src/lib/Hydra/Schema/Jobs.pm at line 142
{is_deferrable => 0,join_type => "LEFT",on_delete => "CASCADE",on_update => "NO ACTION",},{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, - replacement in src/lib/Hydra/Schema/Jobs.pm at line 195
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:30:58# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dFusVjxb423gIEoadAw9sw# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:33:28# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:C5Tyh8Ke4yC6q7KIFVOHcQ - replacement in src/sql/hydra.sql at line 149
jobset_id integer null,jobset_id integer not null, - file addition: upgrade-63.sql[14.3004]
-- Make the Jobs.jobset_id column NOT NULL. If this upgrade fails,-- either the admin didn't run the backfiller or there is a bug. If-- the admin ran the backfiller and there are null columns, it is-- very important to figure out where the nullable columns came from.ALTER TABLE JobsALTER COLUMN jobset_id SET NOT NULL;