Skip to content
Snippets Groups Projects
Commit 5f404f1a authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

sql/swh-schema.sql: add default values and indexes on person

parent b1d6dc17
No related branches found
No related tags found
No related merge requests found
......@@ -231,10 +231,12 @@ create table directory_list_rev
create table person
(
id bigserial primary key,
name text,
email text
name text not null default '',
email text not null default ''
);
create unique index on person(name, email);
create type revision_type as enum ('git', 'tar', 'dsc');
-- A snapshot of a software project at a specific point in time.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment