From 3e94d0ffc13e3ec634678877d50c422adbb34d24 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Fri, 28 Jul 2006 12:33:07 +0000
Subject: remove old maps.
---
.../protected/App_Data/mysql-maps/category.xml | 93 ------------
.../protected/App_Data/mysql-maps/projects.xml | 156 ---------------------
.../protected/App_Data/mysql-maps/reports.xml | 87 ------------
.../protected/App_Data/mysql-maps/time-entry.xml | 93 ------------
.../protected/App_Data/mysql-maps/users.xml | 137 ------------------
5 files changed, 566 deletions(-)
delete mode 100644 demos/time-tracker/protected/App_Data/mysql-maps/category.xml
delete mode 100644 demos/time-tracker/protected/App_Data/mysql-maps/projects.xml
delete mode 100644 demos/time-tracker/protected/App_Data/mysql-maps/reports.xml
delete mode 100644 demos/time-tracker/protected/App_Data/mysql-maps/time-entry.xml
delete mode 100644 demos/time-tracker/protected/App_Data/mysql-maps/users.xml
(limited to 'demos')
diff --git a/demos/time-tracker/protected/App_Data/mysql-maps/category.xml b/demos/time-tracker/protected/App_Data/mysql-maps/category.xml
deleted file mode 100644
index 66b0ae5f..00000000
--- a/demos/time-tracker/protected/App_Data/mysql-maps/category.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- INSERT INTO categories
- (Name, ProjectID, Abbreviation, EstimateDuration)
- VALUES(#Name#, #ProjectID#, #Abbreviation#, #EstimateDuration#)
-
- select LAST_INSERT_ID() 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/mysql-maps/projects.xml b/demos/time-tracker/protected/App_Data/mysql-maps/projects.xml
deleted file mode 100644
index f087b864..00000000
--- a/demos/time-tracker/protected/App_Data/mysql-maps/projects.xml
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- INSERT INTO project
- (Name, Description, CreationDate, EstimateDuration, CompletionDate, CreatorID, ManagerID)
- VALUES
- (#Name#, #Description#, NOW(), #EstimateDuration#,
- #CompletionDate, typeHandler=DateTime#,
- #CreatorUserName#, #ManagerUserName#)
-
- select LAST_INSERT_ID() as value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UPDATE project 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 project
- 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/mysql-maps/reports.xml b/demos/time-tracker/protected/App_Data/mysql-maps/reports.xml
deleted file mode 100644
index 4b537708..00000000
--- a/demos/time-tracker/protected/App_Data/mysql-maps/reports.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/demos/time-tracker/protected/App_Data/mysql-maps/time-entry.xml b/demos/time-tracker/protected/App_Data/mysql-maps/time-entry.xml
deleted file mode 100644
index 841bd03e..00000000
--- a/demos/time-tracker/protected/App_Data/mysql-maps/time-entry.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
- INSERT INTO time_entry(
- EntryCreated,
- Duration,
- Description,
- CategoryID,
- EntryDate,
- CreatorID,
- UserID
- )
- VALUES(
- NOW(),
- #Duration#,
- #Description#,
- #Category.ID#,
- #ReportDate, typeHandler=DateTime#,
- #CreatorUserName#,
- #Username#
- )
-
- select LAST_INSERT_ID() 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/mysql-maps/users.xml b/demos/time-tracker/protected/App_Data/mysql-maps/users.xml
deleted file mode 100644
index 6053c7ea..00000000
--- a/demos/time-tracker/protected/App_Data/mysql-maps/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#, NOW())
-
-
-
-
-
- UPDATE signon SET LastSignOnDate = NOW()
- 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