[Jifty-commit] r2635 - jifty/trunk/lib/Jifty/Script

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat Jan 27 00:04:22 EST 2007


Author: audreyt
Date: Sat Jan 27 00:04:21 2007
New Revision: 2635

Modified:
   jifty/trunk/lib/Jifty/Script/Schema.pm

Log:
* Jifty::Script::Schema: s/until/till/g

Modified: jifty/trunk/lib/Jifty/Script/Schema.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/Schema.pm	(original)
+++ jifty/trunk/lib/Jifty/Script/Schema.pm	Sat Jan 27 00:04:21 2007
@@ -396,11 +396,11 @@
                 next if $column->virtual;
 
                 # If they're old, drop them
-                if (    defined $column->until
-                    and $appv >= $column->until
-                    and $dbv < $column->until )
+                if ($column->can('till') and defined $column->till
+                    and $appv >= $column->till
+                    and $dbv < $column->till )
                 {
-                    push @{ $UPGRADES{ $column->until } },
+                    push @{ $UPGRADES{ $column->till } },
                         "ALTER TABLE "
                         . $model->table
                         . " DROP COLUMN "


More information about the Jifty-commit mailing list