Added sequences for auto increment primary key columns (for PostgreSQL)

[?]
May 7, 2009, 1:30 PM
7PYQLDQLHIFHIAZZKBEQ36QMRNZFDWCAVCIHYO3V7JRV36AG5SBAC

Dependencies

  • [2] SJN2QPWH * Big speed-up of the job status page and the channel generation (such
  • [*] PHX2HIVG * Store info about the build inputs in the build record.
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • edit in src/lib/Hydra/Schema/BuildInputs.pm at line 38
    [4.781]
    [4.781]
    if ($ENV{"HYDRA_DBI"} =~ m/^dbi:Pg/) {
    __PACKAGE__->sequence('builds_id_seq');
    }
  • edit in src/lib/Hydra/Schema/Builds.pm at line 105
    [2.2196]
    [2.2196]
    if ($ENV{"HYDRA_DBI"} =~ m/^dbi:Pg/) {
    __PACKAGE__->sequence('builds_id_seq');
    }