X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=sql%2Fnuke-patrons-and-circs.sql;h=a2e6dd3bef51dceedb2433562fad6ad6b1141270;hp=4b7c47f8cfcc401379f85fb83dc82094fa12d402;hb=7af21df77fb31c255c21c4a37addf7c645d42731;hpb=c2f1d0653f598bb26fab71b58ed8bfcc0f4551e0 diff --git a/sql/nuke-patrons-and-circs.sql b/sql/nuke-patrons-and-circs.sql index 4b7c47f..a2e6dd3 100644 --- a/sql/nuke-patrons-and-circs.sql +++ b/sql/nuke-patrons-and-circs.sql @@ -1,3 +1,19 @@ +-- Copyright 2009-2012, Equinox Software, Inc. +-- +-- 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; either version 2 +-- of the License, or (at your option) any later version. +-- +-- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + alter table actor.usr disable rule protect_user_delete; begin; delete from actor.usr where usrname !~ 'admin';