aboutsummaryrefslogtreecommitdiff
path: root/sqitch/deploy/git_branches.sql
blob: 4b926b52a7a8e73e7fcc464e165664dd0b3adca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- Deploy guix-data-service:git_branches to pg

BEGIN;

CREATE TABLE git_branches (
    name character varying NOT NULL,
    commit character varying,
    git_repository_id integer NOT NULL,
    datetime timestamp without time zone NOT NULL,
    CONSTRAINT name_commit PRIMARY KEY(name, commit)
);

COMMIT;