X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSQL%2FTranslator%2FFilter%2FGlobals.pm;h=d4dbfda6325566c5e77616e7f29166869f3aa4cc;hb=7a16a53e0db93fa50cd41e92afc53d82a90131eb;hp=d8c43ac2344e1ca82dcb85d6c787df19f1a757fd;hpb=40ec99bc8139d36bb52edeacad28e3012db0f165;p=dbsrgits%2FSQL-Translator.git diff --git a/lib/SQL/Translator/Filter/Globals.pm b/lib/SQL/Translator/Filter/Globals.pm index d8c43ac..d4dbfda 100644 --- a/lib/SQL/Translator/Filter/Globals.pm +++ b/lib/SQL/Translator/Filter/Globals.pm @@ -1,25 +1,5 @@ package SQL::Translator::Filter::Globals; -# ------------------------------------------------------------------- -# $Id: Globals.pm,v 1.3 2006-04-07 10:00:21 grommit Exp $ -# ------------------------------------------------------------------- -# Copyright (C) 2002-4 SQLFairy Authors -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; version 2. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -# 02111-1307 USA -# ------------------------------------------------------------------- - =head1 NAME SQL::Translator::Filter::Globals - Add global fields and indices to all tables. @@ -41,7 +21,7 @@ SQL::Translator::Filter::Globals - Add global fields and indices to all tables. } ], indices => [ - { + { fields => 'modifed', }, ] @@ -57,8 +37,8 @@ SQL::Translator::Filter::Globals - Add global fields and indices to all tables. =cut use strict; -use vars qw/$VERSION/; -$VERSION=0.1; +use warnings; +our $VERSION = '1.59'; sub filter { my $schema = shift;