projects
/
ccbs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae23051
)
Add position to roundparticipation (so we can order by it).
author
Steinar H. Gunderson
<sesse@samfundet.no>
Sun, 13 Feb 2005 18:32:15 +0000
(18:32 +0000)
committer
Steinar H. Gunderson
<sesse@samfundet.no>
Sun, 13 Feb 2005 18:32:15 +0000
(18:32 +0000)
sql/ccbs.sql
patch
|
blob
|
history
diff --git
a/sql/ccbs.sql
b/sql/ccbs.sql
index
b866067
..
11901b4
100644
(file)
--- a/
sql/ccbs.sql
+++ b/
sql/ccbs.sql
@@
-102,8
+102,10
@@
CREATE TABLE roundparticipation (
round INTEGER NOT NULL,
parallel INTEGER NOT NULL,
player INTEGER NOT NULL REFERENCES players,
+ position INTEGER NOT NULL,
UNIQUE (tournament, round, player),
+ UNIQUE (tournament, round, parallel, position)
FOREIGN KEY (tournament, round, parallel) REFERENCES groups (tournament, round, parallel),
PRIMARY KEY (tournament, round, parallel, player)
);