From 04ec51d7c16ab76842a74333d2e47524a9392e97 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Mon, 12 Jul 2010 11:00:50 +0200 Subject: [PATCH] DB: Fix capitalisation of Gametypes table in SQLite --- pyfpdb/Database.py | 2 +- pyfpdb/SQL.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index 513c4ee9..bf0ed73b 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -74,7 +74,7 @@ except ImportError: use_numpy = False -DB_VERSION = 131 +DB_VERSION = 132 # Variance created as sqlite has a bunch of undefined aggregate functions. diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index 6228ab24..818a2d0e 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -190,7 +190,7 @@ class Sql: smallBet int, bigBet int)""" elif db_server == 'sqlite': - self.query['createGametypesTable'] = """CREATE TABLE GameTypes ( + self.query['createGametypesTable'] = """CREATE TABLE Gametypes ( id INTEGER PRIMARY KEY, siteId INTEGER, currency TEXT,