From: Thierry Parmentelat Date: Wed, 7 Dec 2011 10:13:14 +0000 (+0100) Subject: bug fix in sql schema - was plain broken X-Git-Tag: sfa-2.0-3~29 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=86516bb92152b2232c0cb3cf8f09be18b11ca24e;p=sfa.git bug fix in sql schema - was plain broken --- diff --git a/sfa/storage/sfa.sql b/sfa/storage/sfa.sql index 202b91fb..9a2792c8 100644 --- a/sfa/storage/sfa.sql +++ b/sfa/storage/sfa.sql @@ -61,8 +61,8 @@ CREATE TABLE records ( date_created timestamp without time zone NOT NULL DEFAULT CURRENT_TIMESTAMP, last_updated timestamp without time zone NOT NULL DEFAULT CURRENT_TIMESTAMP ); -CREATE INDEX sfa_hrn_ids on sfa (hrn); -CREATE INDEX sfa_type_ids on sfa (type); -CREATE INDEX sfa_authority_ids on sfa (authority); -CREATE INDEX sfa_peer_authority_ids on sfa (peer_authority); -CREATE INDEX sfa_pointer_ids on sfa (pointer); +CREATE INDEX sfa_hrn_ids on records (hrn); +CREATE INDEX sfa_type_ids on records (type); +CREATE INDEX sfa_authority_ids on records (authority); +CREATE INDEX sfa_peer_authority_ids on records (peer_authority); +CREATE INDEX sfa_pointer_ids on records (pointer);