summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-11-14 10:55:05 +0100
committeremkael <emkael@tlen.pl>2016-11-14 14:37:56 +0100
commit6f5d3a1d030fe7d66d56c71bdacb2534a9c98561 (patch)
treed38b0a7bde0d5762c793768601390d1e57002106
parentc2d53052e846fa2f8bbedcae9eb37ed607bb13ee (diff)
* autonumber IDs in bidding/play tables
-rw-r--r--Aktywator/Bws.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 20278e0..8884868 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -174,7 +174,7 @@ namespace Aktywator
try
{
sql.query("CREATE TABLE PlayData ("
- + "`ID` integer, `Section` integer, `Table` integer, `Round` integer, `Board` integer,"
+ + "`ID` autoincrement, `Section` integer, `Table` integer, `Round` integer, `Board` integer,"
+ "`Counter` integer, `Direction` text(2), `Card` text(10), `DateLog` datetime,"
+ "`TimeLog` datetime, `Erased` bit"
+ ");");
@@ -185,7 +185,7 @@ namespace Aktywator
try
{
sql.query("CREATE TABLE BiddingData ("
- + "`ID` integer, `Section` integer, `Table` integer, `Round` integer, `Board` integer,"
+ + "`ID` autoincrement, `Section` integer, `Table` integer, `Round` integer, `Board` integer,"
+ "`Counter` integer, `Direction` text(2), `Bid` text(10), `DateLog` datetime,"
+ "`TimeLog` datetime, `Erased` bit"
+ ");");