From 3046b5c41ab51ab5ee9b5136a7f1deeefda4d5b3 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 28 Jul 2006 12:39:48 +0000 Subject: correcting directory name --- .../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 32768 -> 0 bytes .../protected/App_Data/Sqlite2/time-tracker.db.bak | Bin 32768 -> 0 bytes .../protected/App_Data/Sqlite2/users.xml | 137 ------------------ 7 files changed, 592 deletions(-) delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/category.xml delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/projects.xml delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/reports.xml delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/time-entry.xml delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db.bak delete mode 100644 demos/time-tracker/protected/App_Data/Sqlite2/users.xml (limited to 'demos/time-tracker/protected/App_Data/Sqlite2') diff --git a/demos/time-tracker/protected/App_Data/Sqlite2/category.xml b/demos/time-tracker/protected/App_Data/Sqlite2/category.xml deleted file mode 100644 index d89a517f..00000000 --- a/demos/time-tracker/protected/App_Data/Sqlite2/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/Sqlite2/projects.xml b/demos/time-tracker/protected/App_Data/Sqlite2/projects.xml deleted file mode 100644 index e5f52887..00000000 --- a/demos/time-tracker/protected/App_Data/Sqlite2/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/Sqlite2/reports.xml b/demos/time-tracker/protected/App_Data/Sqlite2/reports.xml deleted file mode 100644 index b5997f1f..00000000 --- a/demos/time-tracker/protected/App_Data/Sqlite2/reports.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ 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 deleted file mode 100644 index 1d7fec37..00000000 --- a/demos/time-tracker/protected/App_Data/Sqlite2/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/Sqlite2/time-tracker.db b/demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db deleted file mode 100644 index 124bbeba..00000000 Binary files a/demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db and /dev/null 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 deleted file mode 100644 index 124bbeba..00000000 Binary files a/demos/time-tracker/protected/App_Data/Sqlite2/time-tracker.db.bak and /dev/null differ diff --git a/demos/time-tracker/protected/App_Data/Sqlite2/users.xml b/demos/time-tracker/protected/App_Data/Sqlite2/users.xml deleted file mode 100644 index 74b33b2c..00000000 --- a/demos/time-tracker/protected/App_Data/Sqlite2/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 -- cgit v1.2.3