From 21e60a99f11fe002e8069fcfcde7d7a65e988009 Mon Sep 17 00:00:00 2001 From: Shadez Date: Sat, 19 Mar 2011 20:56:59 +0800 Subject: [PATCH] [489] SQL for prev. commit --- includes/revision_nr.php | 4 ++-- sql/updates/armory_r489_armory_visitors.sql | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 sql/updates/armory_r489_armory_visitors.sql diff --git a/includes/revision_nr.php b/includes/revision_nr.php index efe7467d3..89bbc279f 100644 --- a/includes/revision_nr.php +++ b/includes/revision_nr.php @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/sql/updates/armory_r489_armory_visitors.sql b/sql/updates/armory_r489_armory_visitors.sql new file mode 100644 index 000000000..38704f5b1 --- /dev/null +++ b/sql/updates/armory_r489_armory_visitors.sql @@ -0,0 +1,7 @@ +UPDATE `armory_db_version` SET `version` = 'armory_r489'; +DROP TABLE IF EXISTS `armory_visitors`; +CREATE TABLE `armory_visitors` ( + `date` int(11) NOT NULL, + `count` int(11) NOT NULL, + PRIMARY KEY (`date`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; \ No newline at end of file