From 3386f0fdea56a7c63f37e3dc8f90dff21924ef21 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Fri, 28 Jul 2006 12:39:19 +0000
Subject: correcting directory name
---
.../protected/App_Data/Sqlite/category.xml | 109 --------------
.../protected/App_Data/Sqlite/projects.xml | 159 ---------------------
.../protected/App_Data/Sqlite/reports.xml | 87 -----------
.../protected/App_Data/Sqlite/time-entry.xml | 100 -------------
.../protected/App_Data/Sqlite/time-tracker.db | Bin 32768 -> 0 bytes
.../protected/App_Data/Sqlite/time-tracker.db.bak | Bin 32768 -> 0 bytes
.../protected/App_Data/Sqlite/users.xml | 137 ------------------
.../protected/App_Data/Sqlite2/category.xml | 109 ++++++++++++++
.../protected/App_Data/Sqlite2/projects.xml | 159 +++++++++++++++++++++
.../protected/App_Data/Sqlite2/reports.xml | 87 +++++++++++
.../protected/App_Data/Sqlite2/time-entry.xml | 100 +++++++++++++
.../protected/App_Data/Sqlite2/time-tracker.db | Bin 0 -> 32768 bytes
.../protected/App_Data/Sqlite2/time-tracker.db.bak | Bin 0 -> 32768 bytes
.../protected/App_Data/Sqlite2/users.xml | 137 ++++++++++++++++++
14 files changed, 592 insertions(+), 592 deletions(-)
delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite/category.xml
delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite/projects.xml
delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite/reports.xml
delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite/time-entry.xml
delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite/time-tracker.db
delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite/time-tracker.db.bak
delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite/users.xml
create mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/category.xml
create mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/projects.xml
create mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/reports.xml
create mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/time-entry.xml
create mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db
create mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db.bak
create mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/users.xml
(limited to 'demos/time-tracker/protected/App_Data')
diff --git a/demos/time-tracker/protected/App_Data/Sqlite/category.xml b/demos/time-tracker/protected/App_Data/Sqlite/category.xml
deleted file mode 100644
index d89a517f..00000000
--- a/demos/time-tracker/protected/App_Data/Sqlite/category.xml
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- INSERT INTO categories
- (Name, ProjectID, Abbreviation, EstimateDuration)
- VALUES(#Name#, #ProjectID#, #Abbreviation#, #EstimateDuration#)
-
- select LAST_INSERT_ROWID() as value
-
-
-
-
-
-
-
-
- DELETE FROM categories WHERE CategoryID = #value#
-
-
-
-
-
-
-
- UPDATE categories SET
- Abbreviation = #Abbreviation#,
- EstimateDuration = #EstimateDuration#,
- Name = #Name#,
- ProjectId = #ProjectID#
- WHERE
- CategoryID = #ID#
-
-
-
\ No newline at end of file
diff --git a/demos/time-tracker/protected/App_Data/Sqlite/projects.xml b/demos/time-tracker/protected/App_Data/Sqlite/projects.xml
deleted file mode 100644
index e5f52887..00000000
--- a/demos/time-tracker/protected/App_Data/Sqlite/projects.xml
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- INSERT INTO projects
- (Name, Description, CreationDate, EstimateDuration, CompletionDate, CreatorID, ManagerID)
- VALUES
- (#Name#, #Description#, php('date', 'Y-m-d H:i:s'), #EstimateDuration#,
- #CompletionDate, typeHandler=DateTime#,
- #CreatorUserName#, #ManagerUserName#)
-
- select LAST_INSERT_ROWID() as value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UPDATE projects SET Disabled = 1 WHERE ProjectID = #value#
-
-
-
-
-
- INSERT INTO project_members (UserID, ProjectID)
- VALUES(#username#, #project#)
-
-
-
- DELETE FROM project_members WHERE ProjectID = #project# AND UserID = #username#
-
-
-
- UPDATE projects
- SET
- CompletionDate = #CompletionDate, typeHandler=DateTime#,
- Description = #Description#,
- EstimateDuration = #EstimateDuration#,
- ManagerId =#ManagerUserName#,
- Name = #Name#
- WHERE
- ProjectID = #ID#
-
-
-
\ No newline at end of file
diff --git a/demos/time-tracker/protected/App_Data/Sqlite/reports.xml b/demos/time-tracker/protected/App_Data/Sqlite/reports.xml
deleted file mode 100644
index b5997f1f..00000000
--- a/demos/time-tracker/protected/App_Data/Sqlite/reports.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/demos/time-tracker/protected/App_Data/Sqlite/time-entry.xml b/demos/time-tracker/protected/App_Data/Sqlite/time-entry.xml
deleted file mode 100644
index 1d7fec37..00000000
--- a/demos/time-tracker/protected/App_Data/Sqlite/time-entry.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
- INSERT INTO time_entry(
- EntryCreated,
- Duration,
- Description,
- CategoryID,
- EntryDate,
- CreatorID,
- UserID
- )
- VALUES(
- php('date', 'Y-m-d H:i:s'),
- #Duration#,
- #Description#,
- #Category.ID#,
- #ReportDate, typeHandler=DateTime#,
- #CreatorUserName#,
- #Username#
- )
-
- select LAST_INSERT_ROWID() as value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DELETE FROM time_entry WHERE EntryID = #value#
-
-
-
-
-
- UPDATE time_entry SET
- Duration = #Duration#,
- Description = #Description#,
- CategoryID = #Category.ID#,
- EntryDate = #ReportDate, typeHandler=DateTime#,
- UserID = #Username#
- WHERE
- EntryID = #ID#
-
-
-
\ No newline at end of file
diff --git a/demos/time-tracker/protected/App_Data/Sqlite/time-tracker.db b/demos/time-tracker/protected/App_Data/Sqlite/time-tracker.db
deleted file mode 100644
index 124bbeba..00000000
Binary files a/demos/time-tracker/protected/App_Data/Sqlite/time-tracker.db and /dev/null differ
diff --git a/demos/time-tracker/protected/App_Data/Sqlite/time-tracker.db.bak b/demos/time-tracker/protected/App_Data/Sqlite/time-tracker.db.bak
deleted file mode 100644
index 124bbeba..00000000
Binary files a/demos/time-tracker/protected/App_Data/Sqlite/time-tracker.db.bak and /dev/null differ
diff --git a/demos/time-tracker/protected/App_Data/Sqlite/users.xml b/demos/time-tracker/protected/App_Data/Sqlite/users.xml
deleted file mode 100644
index 74b33b2c..00000000
--- a/demos/time-tracker/protected/App_Data/Sqlite/users.xml
+++ /dev/null
@@ -1,137 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- INSERT INTO
- users (Username, Password, EmailAddress)
- VALUES
- (#user.Name#, #password#, #user.EmailAddress#)
-
-
-
- UPDATE users SET Disabled = 1 WHERE username = #value#
-
-
-
- INSERT INTO
- signon (SessionToken, Username, LastSignOnDate)
- VALUES
- (#token#, #username#, php('date', 'Y-m-d H:i:s'))
-
-
-
-
-
- UPDATE signon SET LastSignOnDate = php('date', 'Y-m-d H:i:s')
- WHERE SessionToken = #value#
-
-
-
- DELETE FROM user_roles WHERE UserID = #Name#
-
-
-
- INSERT INTO user_roles (UserID, RoleType)
- VALUES(#username#, #role#)
-
-
-
- UPDATE users
- SET EmailAddress = #EmailAddress#
- WHERE Username = #Name#
-
-
-
- UPDATE users
- SET EmailAddress = #user.EmailAddress#, Password=#password#
- WHERE Username = #user.Name#
-
-
-
- DELETE FROM signon WHERE Username = #value#
-
-
-
- DELETE FROM signon
-
-
-
\ No newline at end of file
diff --git a/demos/time-tracker/protected/App_Data/Sqlite2/category.xml b/demos/time-tracker/protected/App_Data/Sqlite2/category.xml
new file mode 100644
index 00000000..d89a517f
--- /dev/null
+++ b/demos/time-tracker/protected/App_Data/Sqlite2/category.xml
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO categories
+ (Name, ProjectID, Abbreviation, EstimateDuration)
+ VALUES(#Name#, #ProjectID#, #Abbreviation#, #EstimateDuration#)
+
+ select LAST_INSERT_ROWID() as value
+
+
+
+
+
+
+
+
+ DELETE FROM categories WHERE CategoryID = #value#
+
+
+
+
+
+
+
+ UPDATE categories SET
+ Abbreviation = #Abbreviation#,
+ EstimateDuration = #EstimateDuration#,
+ Name = #Name#,
+ ProjectId = #ProjectID#
+ WHERE
+ CategoryID = #ID#
+
+
+
\ No newline at end of file
diff --git a/demos/time-tracker/protected/App_Data/Sqlite2/projects.xml b/demos/time-tracker/protected/App_Data/Sqlite2/projects.xml
new file mode 100644
index 00000000..e5f52887
--- /dev/null
+++ b/demos/time-tracker/protected/App_Data/Sqlite2/projects.xml
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO projects
+ (Name, Description, CreationDate, EstimateDuration, CompletionDate, CreatorID, ManagerID)
+ VALUES
+ (#Name#, #Description#, php('date', 'Y-m-d H:i:s'), #EstimateDuration#,
+ #CompletionDate, typeHandler=DateTime#,
+ #CreatorUserName#, #ManagerUserName#)
+
+ select LAST_INSERT_ROWID() as value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ UPDATE projects SET Disabled = 1 WHERE ProjectID = #value#
+
+
+
+
+
+ INSERT INTO project_members (UserID, ProjectID)
+ VALUES(#username#, #project#)
+
+
+
+ DELETE FROM project_members WHERE ProjectID = #project# AND UserID = #username#
+
+
+
+ UPDATE projects
+ SET
+ CompletionDate = #CompletionDate, typeHandler=DateTime#,
+ Description = #Description#,
+ EstimateDuration = #EstimateDuration#,
+ ManagerId =#ManagerUserName#,
+ Name = #Name#
+ WHERE
+ ProjectID = #ID#
+
+
+
\ No newline at end of file
diff --git a/demos/time-tracker/protected/App_Data/Sqlite2/reports.xml b/demos/time-tracker/protected/App_Data/Sqlite2/reports.xml
new file mode 100644
index 00000000..b5997f1f
--- /dev/null
+++ b/demos/time-tracker/protected/App_Data/Sqlite2/reports.xml
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demos/time-tracker/protected/App_Data/Sqlite2/time-entry.xml b/demos/time-tracker/protected/App_Data/Sqlite2/time-entry.xml
new file mode 100644
index 00000000..1d7fec37
--- /dev/null
+++ b/demos/time-tracker/protected/App_Data/Sqlite2/time-entry.xml
@@ -0,0 +1,100 @@
+
+
+
+
+ INSERT INTO time_entry(
+ EntryCreated,
+ Duration,
+ Description,
+ CategoryID,
+ EntryDate,
+ CreatorID,
+ UserID
+ )
+ VALUES(
+ php('date', 'Y-m-d H:i:s'),
+ #Duration#,
+ #Description#,
+ #Category.ID#,
+ #ReportDate, typeHandler=DateTime#,
+ #CreatorUserName#,
+ #Username#
+ )
+
+ select LAST_INSERT_ROWID() as value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM time_entry WHERE EntryID = #value#
+
+
+
+
+
+ UPDATE time_entry SET
+ Duration = #Duration#,
+ Description = #Description#,
+ CategoryID = #Category.ID#,
+ EntryDate = #ReportDate, typeHandler=DateTime#,
+ UserID = #Username#
+ WHERE
+ EntryID = #ID#
+
+
+
\ No newline at end of file
diff --git a/demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db b/demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db
new file mode 100644
index 00000000..124bbeba
Binary files /dev/null and b/demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db differ
diff --git a/demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db.bak b/demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db.bak
new file mode 100644
index 00000000..124bbeba
Binary files /dev/null and b/demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db.bak differ
diff --git a/demos/time-tracker/protected/App_Data/Sqlite2/users.xml b/demos/time-tracker/protected/App_Data/Sqlite2/users.xml
new file mode 100644
index 00000000..74b33b2c
--- /dev/null
+++ b/demos/time-tracker/protected/App_Data/Sqlite2/users.xml
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO
+ users (Username, Password, EmailAddress)
+ VALUES
+ (#user.Name#, #password#, #user.EmailAddress#)
+
+
+
+ UPDATE users SET Disabled = 1 WHERE username = #value#
+
+
+
+ INSERT INTO
+ signon (SessionToken, Username, LastSignOnDate)
+ VALUES
+ (#token#, #username#, php('date', 'Y-m-d H:i:s'))
+
+
+
+
+
+ UPDATE signon SET LastSignOnDate = php('date', 'Y-m-d H:i:s')
+ WHERE SessionToken = #value#
+
+
+
+ DELETE FROM user_roles WHERE UserID = #Name#
+
+
+
+ INSERT INTO user_roles (UserID, RoleType)
+ VALUES(#username#, #role#)
+
+
+
+ UPDATE users
+ SET EmailAddress = #EmailAddress#
+ WHERE Username = #Name#
+
+
+
+ UPDATE users
+ SET EmailAddress = #user.EmailAddress#, Password=#password#
+ WHERE Username = #user.Name#
+
+
+
+ DELETE FROM signon WHERE Username = #value#
+
+
+
+ DELETE FROM signon
+
+
+
\ No newline at end of file
--
cgit v1.2.3