projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work on Eightpieces draft. Fix Grand deterministic initial position
[vchess.git]
/
server
/
db
/
create.sql
diff --git
a/server/db/create.sql
b/server/db/create.sql
index
c05c87a
..
8f3daa8
100644
(file)
--- a/
server/db/create.sql
+++ b/
server/db/create.sql
@@
-43,6
+43,7
@@
create table Challenges (
uid integer,
target integer,
vid integer,
uid integer,
target integer,
vid integer,
+ randomness integer,
fen varchar,
cadence varchar,
foreign key (uid) references Users(id),
fen varchar,
cadence varchar,
foreign key (uid) references Users(id),
@@
-54,11
+55,15
@@
create table Games (
vid integer,
fenStart varchar, --initial state
fen varchar, --current state
vid integer,
fenStart varchar, --initial state
fen varchar, --current state
- score varchar,
+ score varchar
default '*'
,
scoreMsg varchar,
cadence varchar,
scoreMsg varchar,
cadence varchar,
+ randomness integer, --for rematch
created datetime,
created datetime,
- drawOffer character,
+ drawOffer character default '',
+ rematchOffer character default '',
+ deletedByWhite boolean,
+ deletedByBlack boolean,
foreign key (vid) references Variants(id)
);
foreign key (vid) references Variants(id)
);