0e12c5453211adb94abe736b4493e7e2229225c8
Author: Nate Abele
Date: 2009-01-22 17:08:46 -0500
diff --git a/config/sql/schema.php b/config/sql/schema.php
new file mode 100644
index 0000000..70e1e23
--- /dev/null
+++ b/config/sql/schema.php
@@ -0,0 +1,27 @@
+<?php
+/* SVN FILE: $Id$ */
+/* CakeCal schema generated on: 2009-01-22 17:01:34 : 1232662054*/
+class CakeCalSchema extends CakeSchema {
+ var $name = 'CakeCal';
+
+ function before($event = array()) {
+ return true;
+ }
+
+ function after($event = array()) {
+ }
+
+ var $events = array(
+ 'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'key' => 'primary'),
+ 'title' => array('type' => 'string', 'null' => true, 'default' => NULL),
+ 'notes' => array('type' => 'text', 'null' => true, 'default' => NULL),
+ 'location' => array('type' => 'string', 'null' => true, 'default' => NULL),
+ 'repeat' => array('type' => 'integer', 'null' => true, 'default' => NULL),
+ 'start' => array('type' => 'datetime', 'null' => true, 'default' => NULL),
+ 'end' => array('type' => 'datetime', 'null' => true, 'default' => NULL),
+ 'created' => array('type' => 'datetime', 'null' => true, 'default' => NULL),
+ 'updated' => array('type' => 'datetime', 'null' => true, 'default' => NULL),
+ 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
+ );
+}
+?>
\ No newline at end of file
diff --git a/models/user.php b/models/user.php
deleted file mode 100755
index 3ac206c..0000000
--- a/models/user.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-class User extends AppModel {
-
- var $displayField = 'full_name';
-
- var $hasMany = 'Event';
-}
-
-?>
\ No newline at end of file
