X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSQL%2FTranslator%2FFilter%2FGlobals.pm;h=d4dbfda6325566c5e77616e7f29166869f3aa4cc;hb=f56361ad7eea3245af7ec5b0eaed5ca439bd6168;hp=e1ead931a0280fb1ba19b8ad0ea36078647ec9d4;hpb=11ad2df91bcc0674faa8fb5b6bab52c9e4a73762;p=dbsrgits%2FSQL-Translator.git diff --git a/lib/SQL/Translator/Filter/Globals.pm b/lib/SQL/Translator/Filter/Globals.pm index e1ead93..d4dbfda 100644 --- a/lib/SQL/Translator/Filter/Globals.pm +++ b/lib/SQL/Translator/Filter/Globals.pm @@ -1,23 +1,5 @@ package SQL::Translator::Filter::Globals; -# ------------------------------------------------------------------- -# Copyright (C) 2002-2009 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. @@ -39,7 +21,7 @@ SQL::Translator::Filter::Globals - Add global fields and indices to all tables. } ], indices => [ - { + { fields => 'modifed', }, ] @@ -55,8 +37,8 @@ SQL::Translator::Filter::Globals - Add global fields and indices to all tables. =cut use strict; -use vars qw/$VERSION/; -$VERSION = '1.59'; +use warnings; +our $VERSION = '1.59'; sub filter { my $schema = shift;