Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/hydra
base: 9da60e3c6643
Choose a base ref
...
head repository: NixOS/hydra
compare: 2b4f14963b16
Choose a head ref
  • 2 commits
  • 40 files changed
  • 2 contributors

Commits on Feb 6, 2020

  1. 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.
    grahamc committed Feb 6, 2020
    Copy the full SHA
    c2f932a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #709 from grahamc/generate-from-postgresql

    sql: Generate models from postgresql
    edolstra committed Feb 6, 2020
    Copy the full SHA
    2b4f149 View commit details
    Browse the repository at this point in the history