setup/postgres/psql_patch_1.1.0.sql

Thu, 01 Jan 2026 16:47:11 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 01 Jan 2026 16:47:11 +0100
changeset 405
f3509f24c6c5
parent 285
8da71efbaa35
permissions
-rw-r--r--

fix bad returnLink locations when opening multiple version/component/variant forms one after another - fixes #750

-- apply this script to patch a version 1.0.x database to 1.1.0

create table lpit_commit_ref
(
    issueid      integer not null references lpit_issue (issueid) on delete cascade,
    commit_hash  text    not null,
    commit_brief text    not null
);
create unique index lpit_commit_ref_unique on lpit_commit_ref (issueid, commit_hash);
create type vcstype as enum ('None', 'Mercurial', 'Git');
alter table lpit_project add column vcs vcstype not null default 'None'::vcstype;

mercurial