Silly netbeans. Fix filenames
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 5 Oct 2010 00:10:17 +0000 (20:10 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 5 Oct 2010 00:10:17 +0000 (20:10 -0400)
12 files changed:
kronolith/migration/11_kronolith_upgrade_resourceemail.php [new file with mode: 0644]
kronolith/migration/11_kronolith_upgrade_resourceemail.php.php [deleted file]
kronolith/migration/12_kronolith_upgrade_addzoom.php [new file with mode: 0644]
kronolith/migration/12_kronolith_upgrade_addzoom.php.php [deleted file]
kronolith/migration/13_kronolith_upgrade_systemshares.php [new file with mode: 0644]
kronolith/migration/13_kronolith_upgrade_systemshares.php.php [deleted file]
kronolith/migration/6_kronolith_upgrade_addresources.php [new file with mode: 0644]
kronolith/migration/6_kronolith_upgrade_addresources.php.php [deleted file]
kronolith/migration/8_kronolith_upgrade_addgeo.php [new file with mode: 0644]
kronolith/migration/8_kronolith_upgrade_addgeo.php.php [deleted file]
kronolith/migration/9_kronolith_upgrade_addurl.php [new file with mode: 0644]
kronolith/migration/9_kronolith_upgrade_addurl.php.php [deleted file]

diff --git a/kronolith/migration/11_kronolith_upgrade_resourceemail.php b/kronolith/migration/11_kronolith_upgrade_resourceemail.php
new file mode 100644 (file)
index 0000000..a3a0adc
--- /dev/null
@@ -0,0 +1,37 @@
+<?php
+/**
+ * Adds url field
+ *
+ * Copyright 2010 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @author   Michael J. Rubinsky <mrubinsk@horde.org>
+ * @category Horde
+ * @license  http://www.fsf.org/copyleft/gpl.html GPL
+ * @package  Kronolith
+ */
+class KronolithUpgradeResourceEmail extends Horde_Db_Migration_Base
+{
+    /**
+     * Upgrade.
+     */
+    public function up()
+    {
+        $t = $this->_connection->table('kronolith_resources');
+        $cols = $t->getColumns();
+        if (!in_array('resource_email', array_keys($cols))) {
+            $this->addColumn('kronolith_resources', 'resource_email', 'string', array('limit' => 255));
+        }
+    }
+
+    /**
+     * Downgrade
+     */
+    public function down()
+    {
+        $this->removeColumn('kronolith_resources', 'resource_email');
+    }
+
+}
\ No newline at end of file
diff --git a/kronolith/migration/11_kronolith_upgrade_resourceemail.php.php b/kronolith/migration/11_kronolith_upgrade_resourceemail.php.php
deleted file mode 100644 (file)
index a3a0adc..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * Adds url field
- *
- * Copyright 2010 The Horde Project (http://www.horde.org/)
- *
- * See the enclosed file COPYING for license information (GPL). If you
- * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
- *
- * @author   Michael J. Rubinsky <mrubinsk@horde.org>
- * @category Horde
- * @license  http://www.fsf.org/copyleft/gpl.html GPL
- * @package  Kronolith
- */
-class KronolithUpgradeResourceEmail extends Horde_Db_Migration_Base
-{
-    /**
-     * Upgrade.
-     */
-    public function up()
-    {
-        $t = $this->_connection->table('kronolith_resources');
-        $cols = $t->getColumns();
-        if (!in_array('resource_email', array_keys($cols))) {
-            $this->addColumn('kronolith_resources', 'resource_email', 'string', array('limit' => 255));
-        }
-    }
-
-    /**
-     * Downgrade
-     */
-    public function down()
-    {
-        $this->removeColumn('kronolith_resources', 'resource_email');
-    }
-
-}
\ No newline at end of file
diff --git a/kronolith/migration/12_kronolith_upgrade_addzoom.php b/kronolith/migration/12_kronolith_upgrade_addzoom.php
new file mode 100644 (file)
index 0000000..332c427
--- /dev/null
@@ -0,0 +1,37 @@
+<?php
+/**
+ * Adds url field
+ *
+ * Copyright 2010 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @author   Michael J. Rubinsky <mrubinsk@horde.org>
+ * @category Horde
+ * @license  http://www.fsf.org/copyleft/gpl.html GPL
+ * @package  Kronolith
+ */
+class KronolithUpgradeAddZoom extends Horde_Db_Migration_Base
+{
+    /**
+     * Upgrade.
+     */
+    public function up()
+    {
+        $t = $this->_connection->table('kronolith_events_geo');
+        $cols = $t->getColumns();
+        if (!in_array('event_zoom', array_keys($cols))) {
+            $this->addColumn('kronolith_events_geo', 'event_zoom', 'integer', array('default' => 0, 'null' => false));
+        }
+    }
+
+    /**
+     * Downgrade
+     */
+    public function down()
+    {
+        $this->removeColumn('kronolith_events_geo', 'event_zoom');
+    }
+
+}
\ No newline at end of file
diff --git a/kronolith/migration/12_kronolith_upgrade_addzoom.php.php b/kronolith/migration/12_kronolith_upgrade_addzoom.php.php
deleted file mode 100644 (file)
index 332c427..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * Adds url field
- *
- * Copyright 2010 The Horde Project (http://www.horde.org/)
- *
- * See the enclosed file COPYING for license information (GPL). If you
- * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
- *
- * @author   Michael J. Rubinsky <mrubinsk@horde.org>
- * @category Horde
- * @license  http://www.fsf.org/copyleft/gpl.html GPL
- * @package  Kronolith
- */
-class KronolithUpgradeAddZoom extends Horde_Db_Migration_Base
-{
-    /**
-     * Upgrade.
-     */
-    public function up()
-    {
-        $t = $this->_connection->table('kronolith_events_geo');
-        $cols = $t->getColumns();
-        if (!in_array('event_zoom', array_keys($cols))) {
-            $this->addColumn('kronolith_events_geo', 'event_zoom', 'integer', array('default' => 0, 'null' => false));
-        }
-    }
-
-    /**
-     * Downgrade
-     */
-    public function down()
-    {
-        $this->removeColumn('kronolith_events_geo', 'event_zoom');
-    }
-
-}
\ No newline at end of file
diff --git a/kronolith/migration/13_kronolith_upgrade_systemshares.php b/kronolith/migration/13_kronolith_upgrade_systemshares.php
new file mode 100644 (file)
index 0000000..d847a2d
--- /dev/null
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Adds url field
+ *
+ * Copyright 2010 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @author   Michael J. Rubinsky <mrubinsk@horde.org>
+ * @category Horde
+ * @license  http://www.fsf.org/copyleft/gpl.html GPL
+ * @package  Kronolith
+ */
+class KronolithUpgradeSystemShares extends Horde_Db_Migration_Base
+{
+    /**
+     * Upgrade.
+     */
+    public function up()
+    {
+        $this->changeColumn('kronolith_shares', 'share_owner', 'string', array('limit' => 255));
+    }
+
+    /**
+     * Downgrade
+     */
+    public function down()
+    {
+        $this->changeColumn('kronolith_shares', 'share_owner', 'string', array('limit' => 255, 'null' => false));
+    }
+
+}
\ No newline at end of file
diff --git a/kronolith/migration/13_kronolith_upgrade_systemshares.php.php b/kronolith/migration/13_kronolith_upgrade_systemshares.php.php
deleted file mode 100644 (file)
index d847a2d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-/**
- * Adds url field
- *
- * Copyright 2010 The Horde Project (http://www.horde.org/)
- *
- * See the enclosed file COPYING for license information (GPL). If you
- * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
- *
- * @author   Michael J. Rubinsky <mrubinsk@horde.org>
- * @category Horde
- * @license  http://www.fsf.org/copyleft/gpl.html GPL
- * @package  Kronolith
- */
-class KronolithUpgradeSystemShares extends Horde_Db_Migration_Base
-{
-    /**
-     * Upgrade.
-     */
-    public function up()
-    {
-        $this->changeColumn('kronolith_shares', 'share_owner', 'string', array('limit' => 255));
-    }
-
-    /**
-     * Downgrade
-     */
-    public function down()
-    {
-        $this->changeColumn('kronolith_shares', 'share_owner', 'string', array('limit' => 255, 'null' => false));
-    }
-
-}
\ No newline at end of file
diff --git a/kronolith/migration/6_kronolith_upgrade_addresources.php b/kronolith/migration/6_kronolith_upgrade_addresources.php
new file mode 100644 (file)
index 0000000..aeceae5
--- /dev/null
@@ -0,0 +1,48 @@
+<?php
+/**
+ * Adds resource table.
+ * 
+ * Copyright 2010 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @author   Michael J. Rubinsky <mrubinsk@horde.org>
+ * @category Horde
+ * @license  http://www.fsf.org/copyleft/gpl.html GPL
+ * @package  Kronolith
+ */
+class KronolithUpgradeAddResources extends Horde_Db_Migration_Base
+{
+    /**
+     * Upgrade.
+     */
+    public function up()
+    {
+        $tableList = $this->tables();
+        if (!in_array('kronolith_resources', $tableList)) {
+            $t = $this->createTable('kronolith_resources', array('primaryKey' => false));
+            $t->column('resource_id', 'integer', array('null' => false));
+            $t->column('resource_name', 'string', array('limit' => 255));
+            $t->column('resource_calendar', 'string', array('limit' => 255));
+            $t->column('resource_description', 'text');
+            $t->column('resource_response_type', 'integer', array('default' => 0));
+            $t->column('resource_type', 'string', array('limit' => 255, 'null' => false));
+            $t->column('resource_members', 'text');
+            $t->primaryKey(array('resource_id'));
+            $t->end();
+
+            $this->addIndex('kronolith_resources', 'resource_calendar');
+            $this->addIndex('kronolith_resources', 'resource_type');
+        }
+    }
+
+    /**
+     * Downgrade
+     */
+    public function down()
+    {
+        $this->dropTable('kronolith_resources');
+    }
+
+}
\ No newline at end of file
diff --git a/kronolith/migration/6_kronolith_upgrade_addresources.php.php b/kronolith/migration/6_kronolith_upgrade_addresources.php.php
deleted file mode 100644 (file)
index aeceae5..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-/**
- * Adds resource table.
- * 
- * Copyright 2010 The Horde Project (http://www.horde.org/)
- *
- * See the enclosed file COPYING for license information (GPL). If you
- * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
- *
- * @author   Michael J. Rubinsky <mrubinsk@horde.org>
- * @category Horde
- * @license  http://www.fsf.org/copyleft/gpl.html GPL
- * @package  Kronolith
- */
-class KronolithUpgradeAddResources extends Horde_Db_Migration_Base
-{
-    /**
-     * Upgrade.
-     */
-    public function up()
-    {
-        $tableList = $this->tables();
-        if (!in_array('kronolith_resources', $tableList)) {
-            $t = $this->createTable('kronolith_resources', array('primaryKey' => false));
-            $t->column('resource_id', 'integer', array('null' => false));
-            $t->column('resource_name', 'string', array('limit' => 255));
-            $t->column('resource_calendar', 'string', array('limit' => 255));
-            $t->column('resource_description', 'text');
-            $t->column('resource_response_type', 'integer', array('default' => 0));
-            $t->column('resource_type', 'string', array('limit' => 255, 'null' => false));
-            $t->column('resource_members', 'text');
-            $t->primaryKey(array('resource_id'));
-            $t->end();
-
-            $this->addIndex('kronolith_resources', 'resource_calendar');
-            $this->addIndex('kronolith_resources', 'resource_type');
-        }
-    }
-
-    /**
-     * Downgrade
-     */
-    public function down()
-    {
-        $this->dropTable('kronolith_resources');
-    }
-
-}
\ No newline at end of file
diff --git a/kronolith/migration/8_kronolith_upgrade_addgeo.php b/kronolith/migration/8_kronolith_upgrade_addgeo.php
new file mode 100644 (file)
index 0000000..046ce11
--- /dev/null
@@ -0,0 +1,41 @@
+<?php
+/**
+ * Adds geospatial data table for NON-MYSQL SPATIAL EXTENSIONS ONLY.
+ * 
+ * Copyright 2010 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @author   Michael J. Rubinsky <mrubinsk@horde.org>
+ * @category Horde
+ * @license  http://www.fsf.org/copyleft/gpl.html GPL
+ * @package  Kronolith
+ */
+class KronolithUpgradeAddGeo extends Horde_Db_Migration_Base
+{
+    /**
+     * Upgrade.
+     */
+    public function up()
+    {
+        $tableList = $this->tables();
+        if (!in_array('kronolith_events_geo', $tableList)) {
+            $t = $this->createTable('kronolith_events_geo', array('primaryKey' => false));
+            $t->column('event_id', 'string', array('limit' => 32, 'null' => false));
+            $t->column('event_lat', 'string', array('limit' => 32, 'null' => false));
+            $t->column('event_lon', 'string', array('limit' => 32, 'null' => false));
+            $t->primaryKey(array('event_id'));
+            $t->end();
+        }
+    }
+
+    /**
+     * Downgrade
+     */
+    public function down()
+    {
+        $this->dropTable('kronolith_events_geo');
+    }
+
+}
\ No newline at end of file
diff --git a/kronolith/migration/8_kronolith_upgrade_addgeo.php.php b/kronolith/migration/8_kronolith_upgrade_addgeo.php.php
deleted file mode 100644 (file)
index 046ce11..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-/**
- * Adds geospatial data table for NON-MYSQL SPATIAL EXTENSIONS ONLY.
- * 
- * Copyright 2010 The Horde Project (http://www.horde.org/)
- *
- * See the enclosed file COPYING for license information (GPL). If you
- * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
- *
- * @author   Michael J. Rubinsky <mrubinsk@horde.org>
- * @category Horde
- * @license  http://www.fsf.org/copyleft/gpl.html GPL
- * @package  Kronolith
- */
-class KronolithUpgradeAddGeo extends Horde_Db_Migration_Base
-{
-    /**
-     * Upgrade.
-     */
-    public function up()
-    {
-        $tableList = $this->tables();
-        if (!in_array('kronolith_events_geo', $tableList)) {
-            $t = $this->createTable('kronolith_events_geo', array('primaryKey' => false));
-            $t->column('event_id', 'string', array('limit' => 32, 'null' => false));
-            $t->column('event_lat', 'string', array('limit' => 32, 'null' => false));
-            $t->column('event_lon', 'string', array('limit' => 32, 'null' => false));
-            $t->primaryKey(array('event_id'));
-            $t->end();
-        }
-    }
-
-    /**
-     * Downgrade
-     */
-    public function down()
-    {
-        $this->dropTable('kronolith_events_geo');
-    }
-
-}
\ No newline at end of file
diff --git a/kronolith/migration/9_kronolith_upgrade_addurl.php b/kronolith/migration/9_kronolith_upgrade_addurl.php
new file mode 100644 (file)
index 0000000..212496d
--- /dev/null
@@ -0,0 +1,37 @@
+<?php
+/**
+ * Adds url field
+ *
+ * Copyright 2010 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @author   Michael J. Rubinsky <mrubinsk@horde.org>
+ * @category Horde
+ * @license  http://www.fsf.org/copyleft/gpl.html GPL
+ * @package  Kronolith
+ */
+class KronolithUpgradeAddUrl extends Horde_Db_Migration_Base
+{
+    /**
+     * Upgrade.
+     */
+    public function up()
+    {
+        $t = $this->_connection->table('kronolith_events');
+        $cols = $t->getColumns();
+        if (!in_array('event_url', array_keys($cols))) {
+            $this->addColumn('kronolith_events', 'event_url', 'text');
+        }
+    }
+
+    /**
+     * Downgrade
+     */
+    public function down()
+    {
+        $this->removeColumn('kronolith_events', 'event_url');
+    }
+
+}
\ No newline at end of file
diff --git a/kronolith/migration/9_kronolith_upgrade_addurl.php.php b/kronolith/migration/9_kronolith_upgrade_addurl.php.php
deleted file mode 100644 (file)
index 212496d..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * Adds url field
- *
- * Copyright 2010 The Horde Project (http://www.horde.org/)
- *
- * See the enclosed file COPYING for license information (GPL). If you
- * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
- *
- * @author   Michael J. Rubinsky <mrubinsk@horde.org>
- * @category Horde
- * @license  http://www.fsf.org/copyleft/gpl.html GPL
- * @package  Kronolith
- */
-class KronolithUpgradeAddUrl extends Horde_Db_Migration_Base
-{
-    /**
-     * Upgrade.
-     */
-    public function up()
-    {
-        $t = $this->_connection->table('kronolith_events');
-        $cols = $t->getColumns();
-        if (!in_array('event_url', array_keys($cols))) {
-            $this->addColumn('kronolith_events', 'event_url', 'text');
-        }
-    }
-
-    /**
-     * Downgrade
-     */
-    public function down()
-    {
-        $this->removeColumn('kronolith_events', 'event_url');
-    }
-
-}
\ No newline at end of file