Revert "Separating Thing object from Thingy"

This reverts commit 3d88789659.
This commit is contained in:
Colin Kuskie 2009-11-17 12:12:08 -08:00
parent c99315aa0c
commit a37f69cc04
4 changed files with 263 additions and 542 deletions

View file

@ -57,11 +57,6 @@ sub changeThingyThingTables {
my $session = shift;
my $db = $session->db;
print "\tChanging Thingy's Thing tables to conform with CRUD ... " unless $quiet;
$db->write('ALTER TABLE Thingy_things ADD `sequencenumber` INT(11)');
$db->write('ALTER TABLE Thingy_things ADD `dateCreated` DATETIME');
$db->write('ALTER TABLE Thingy_things ADD `lastUpdated` DATETIME');
my $things = $db->read('select thingId from Thingy_things');
while (my @thing = $things->array) {
my $tableName = 'Thingy_'.$thing[0];