[Workman-svn] SF.net SVN: workman:[26] trunk
An unobtrusive time-tracking program for self-employed people
Status: Pre-Alpha
Brought to you by:
jmsilva
|
From: <jm...@us...> - 2011-10-21 00:50:33
|
Revision: 26
http://workman.svn.sourceforge.net/workman/?rev=26&view=rev
Author: jmsilva
Date: 2011-10-21 00:50:27 +0000 (Fri, 21 Oct 2011)
Log Message:
-----------
Tiny changes in the DB.
Modified Paths:
--------------
trunk/db.sql
trunk/src/db.py
Modified: trunk/db.sql
===================================================================
--- trunk/db.sql 2011-10-21 00:50:16 UTC (rev 25)
+++ trunk/db.sql 2011-10-21 00:50:27 UTC (rev 26)
@@ -22,6 +22,7 @@
employer_id integer not null autoincrement,
employer_name varchar(128) not null,
employer_hourly_rate float not null,
+ employer_description varchar not null,
employer_rate_start_date date not null,
primary key(employer_id),
unique(employer_name, employer_rate_start_date)
Modified: trunk/src/db.py
===================================================================
--- trunk/src/db.py 2011-10-21 00:50:16 UTC (rev 25)
+++ trunk/src/db.py 2011-10-21 00:50:27 UTC (rev 26)
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# -*- coding: utf-8 -*-
#
# Workman - A time tracking program for self-employed people
# Copyright (C) 2009 João Miguel Ferreira da Silva
@@ -30,7 +31,8 @@
'''
# TODO: What if the database goes down?
- # TODO: Generalise SQL insert and select statement handling
+ # TODO: Generalize SQL insert and select statement handling
+ # TODO: Add remaining needed methods
def __init__(self, dbType = 'QSQLITE', dbName = 'workman',
dbUsername = '', dbPassword = '', dbConnectOptions = ''):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|