From 59439886c327ab4bcb1292e85a89a4165fbedc42 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 16 Aug 2021 11:35:28 +0200 Subject: [PATCH] Bug 25078: Move skeleton file Signed-off-by: Jonathan Druart --- installer/data/mysql/atomicupdate/skeleton.perl | 13 ------------- .../mysql/{db_revs => atomicupdate}/skeleton.pl | 0 2 files changed, 13 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/skeleton.perl rename installer/data/mysql/{db_revs => atomicupdate}/skeleton.pl (100%) diff --git a/installer/data/mysql/atomicupdate/skeleton.perl b/installer/data/mysql/atomicupdate/skeleton.perl deleted file mode 100644 index 813d7cbc5a..0000000000 --- a/installer/data/mysql/atomicupdate/skeleton.perl +++ /dev/null @@ -1,13 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - # you can use $dbh here like: - # $dbh->do( "ALTER TABLE biblio ADD COLUMN badtaste int" ); - - # or perform some test and warn - # if( !column_exists( 'biblio', 'biblionumber' ) ) { - # warn "There is something wrong"; - # } - - # Always end with this (adjust the bug info) - NewVersion( $DBversion, XXXXX, "Description"); -} diff --git a/installer/data/mysql/db_revs/skeleton.pl b/installer/data/mysql/atomicupdate/skeleton.pl similarity index 100% rename from installer/data/mysql/db_revs/skeleton.pl rename to installer/data/mysql/atomicupdate/skeleton.pl -- 2.39.5