Permalink
Browse files

Another small BugFix

  • Loading branch information...
1 parent d3c94cf commit f1e0b3e13d9a1cac006f400d0bb3ac9a4986ca6f @Abstrct committed Sep 17, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 create_schemaverse.sql
View
@@ -994,7 +994,7 @@ CREATE TABLE event_archive
public boolean,
tic integer NOT NULL,
toc timestamp NOT NULL DEFAULT NOW(),
- CONSTRAINT event_archive_pkey PRIMARY KEY (round_id, event_id)
+ CONSTRAINT event_archive_pkey PRIMARY KEY (round, event_id)
);
CREATE SEQUENCE event_id_seq
@@ -1112,7 +1112,7 @@ BEGIN
'%planet_name%', COALESCE(GET_PLANET_NAME(referencing_id),'Unknown')
) into full_text
FROM event_archive INNER JOIN action on event_archive.action=action.name
- WHERE event_archive.event_id=read_event_id AND event_archive.round_id=read_round_id;
+ WHERE event_archive.event_id=read_event_id AND event_archive.round=read_round_id;
RETURN full_text;
END

0 comments on commit f1e0b3e

Please sign in to comment.