[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819
Sebastian Krzyszkowiak
seba.dos1 at gmail.com
Sat Aug 6 08:18:34 UTC 2011
The following commit has been merged in the debian branch:
commit 89df0861123f7081dede650e42f45110f074fbe4
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Sat Oct 3 18:42:17 2009 +0200
opimd: SQLite-*: use FLOAT type in database for Timestamps and Duration fields
diff --git a/framework/subsystems/opimd/pimb_sqlite_calls.py b/framework/subsystems/opimd/pimb_sqlite_calls.py
index 4652acd..258bcf5 100644
--- a/framework/subsystems/opimd/pimb_sqlite_calls.py
+++ b/framework/subsystems/opimd/pimb_sqlite_calls.py
@@ -65,10 +65,10 @@ class SQLiteCallBackend(Backend):
cur.execute("""CREATE TABLE IF NOT EXISTS calls (
id INTEGER PRIMARY KEY,
Type TEXT,
- Timestamp TEXT,
+ Timestamp FLOAT,
Timezone TEXT,
Direction TEXT,
- Duration TEXT,
+ Duration FLOAT,
Cost TEXT,
Answered INTEGER DEFAULT 0,
New INTEGER DEFAULT 0,
diff --git a/framework/subsystems/opimd/pimb_sqlite_messages.py b/framework/subsystems/opimd/pimb_sqlite_messages.py
index e669b2e..902e8ee 100644
--- a/framework/subsystems/opimd/pimb_sqlite_messages.py
+++ b/framework/subsystems/opimd/pimb_sqlite_messages.py
@@ -65,7 +65,7 @@ class SQLiteMessagesBackend(Backend):
cur.execute("""CREATE TABLE IF NOT EXISTS messages (
id INTEGER PRIMARY KEY,
Source TEXT,
- Timestamp TEXT,
+ Timestamp FLOAT,
Timezone TEXT,
Direction TEXT,
Title TEXT,
diff --git a/framework/subsystems/opimd/pimb_sqlite_notes.py b/framework/subsystems/opimd/pimb_sqlite_notes.py
index 90405f8..386b031 100644
--- a/framework/subsystems/opimd/pimb_sqlite_notes.py
+++ b/framework/subsystems/opimd/pimb_sqlite_notes.py
@@ -64,7 +64,7 @@ class SQLiteNotesBackend(Backend):
cur = self.con.cursor()
cur.execute("""CREATE TABLE IF NOT EXISTS notes (
id INTEGER PRIMARY KEY,
- Timestamp TEXT,
+ Timestamp FLOAT,
Timezone TEXT,
Title TEXT,
Content TEXT);""")
diff --git a/framework/subsystems/opimd/pimb_sqlite_tasks.py b/framework/subsystems/opimd/pimb_sqlite_tasks.py
index 7ce8acf..b669b5d 100644
--- a/framework/subsystems/opimd/pimb_sqlite_tasks.py
+++ b/framework/subsystems/opimd/pimb_sqlite_tasks.py
@@ -64,7 +64,7 @@ class SQLiteTasksBackend(Backend):
cur = self.con.cursor()
cur.execute("""CREATE TABLE IF NOT EXISTS tasks (
id INTEGER PRIMARY KEY,
- Timestamp TEXT,
+ Timestamp FLOAT,
Timezone TEXT,
Title TEXT,
Content TEXT,
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list