From c3f563a8dd1e92230f39e6197d713412beea3722 Mon Sep 17 00:00:00 2001 From: Ian Docherty Date: Thu, 30 Aug 2012 04:25:42 -0400 Subject: [PATCH] Revert "Updated to use building cache and to allow script to run as a cron job" This reverts commit 0b7420219d416a9a7c8147b7c744d6466b2c2c9e. Conflicts: bin/util/revamp_map.pl --- lib/Lacuna/DB/Result/Config.pm | 21 --------------------- var/upgrades/3.0866.sql | 7 ------- 2 files changed, 28 deletions(-) delete mode 100644 lib/Lacuna/DB/Result/Config.pm delete mode 100644 var/upgrades/3.0866.sql diff --git a/lib/Lacuna/DB/Result/Config.pm b/lib/Lacuna/DB/Result/Config.pm deleted file mode 100644 index 97c40a3b..00000000 --- a/lib/Lacuna/DB/Result/Config.pm +++ /dev/null @@ -1,21 +0,0 @@ -package Lacuna::DB::Result::Config; - -use Moose; -use utf8; -no warnings qw(uninitialized); -extends 'Lacuna::DB::Result'; -use Lacuna::Util; - -__PACKAGE__->table('config'); -__PACKAGE__->add_columns( - name => { data_type => 'varchar', size => 30, is_nullable => 0 }, - value => { data_type => 'varchar', size => 256, is_nullable => 0 }, -); - -sub sqlt_deploy_hook { - my ($self, $sqlt_table) = @_; - $sqlt_table->add_index(name => 'c_idx_key', fields => ['name']); -} - -no Moose; -__PACKAGE__->meta->make_immutable(inline_constructor => 0); diff --git a/var/upgrades/3.0866.sql b/var/upgrades/3.0866.sql deleted file mode 100644 index 9cd8cd52..00000000 --- a/var/upgrades/3.0866.sql +++ /dev/null @@ -1,7 +0,0 @@ -create table config ( - id int(11) not null auto_increment, - name varchar(30) not null, - value varchar(256), - primary key (id), - key c_idx_key (name) -); -- 2.51.2