From bd15853708ae73ee69220738a061e10d015d7fb9 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 27 Feb 2009 21:07:18 +0000 Subject: This implements table prefix for all the queries in core, user, exif, tag, search, comment and notification modules (Ticket #68) --- modules/exif/helpers/exif_installer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/exif/helpers') diff --git a/modules/exif/helpers/exif_installer.php b/modules/exif/helpers/exif_installer.php index 791cd4a6..964a9e6c 100644 --- a/modules/exif/helpers/exif_installer.php +++ b/modules/exif/helpers/exif_installer.php @@ -23,7 +23,7 @@ class exif_installer { if ($version == 0) { $db = Database::instance(); - $db->query("CREATE TABLE IF NOT EXISTS `exif_keys` ( + $db->query("CREATE TABLE IF NOT EXISTS `[exif_keys]` ( `id` int(9) NOT NULL auto_increment, `item_id` int(9) NOT NULL, `name` varchar(64) NOT NULL, @@ -32,7 +32,7 @@ class exif_installer { PRIMARY KEY (`id`), UNIQUE KEY(`item_id`, `summary`, `name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); - $db->query("CREATE TABLE IF NOT EXISTS `exif_records` ( + $db->query("CREATE TABLE IF NOT EXISTS `[exif_records]` ( `id` int(9) NOT NULL auto_increment, `item_id` int(9) NOT NULL, `dirty` BOOLEAN default 1, @@ -44,7 +44,7 @@ class exif_installer { static function uninstall() { $db = Database::instance(); - $db->query("DROP TABLE IF EXISTS `exif_keys`;"); + $db->query("DROP TABLE IF EXISTS `[exif_keys]`;"); module::delete("exif"); } } -- cgit v1.2.3