Permalink
Browse files

fixing broken pages b/c db table doesn't exist

  • Loading branch information...
1 parent 4edb213 commit 6f5c756c462f00b1731829c1c5159dcaac5a8ba8 Bennet Huber committed Mar 18, 2012
@@ -36,7 +36,7 @@ public function run_install()
//ALL_CLEAR one of "ac,clear,safe"
//STATUS one of "status, st"
// Also include table_prefix in name
- $this->db->query('CREATE TABLE IF NOT EXISTS `'.Kohana::config('database.default.table_prefix').'smskeepalive3` (
+ $this->db->query('CREATE TABLE IF NOT EXISTS `'.Kohana::config('database.default.table_prefix').'smskeepalive` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`delimiter` varchar(1) NOT NULL,
`code_word` varchar(11) NOT NULL,
@@ -81,4 +81,4 @@ public function uninstall()
$this->db->query('DROP TABLE `'.Kohana::config('database.default.table_prefix').'smskeepalive3`');
$this->db->query('DROP TABLE `'.Kohana::config('database.default.table_prefix').'smskeepalive_whitelist`');
}
-}
+}
@@ -17,5 +17,5 @@ class smskeepalive_Model extends ORM
{
// Database table name
- protected $table_name = 'smskeepalive3';
+ protected $table_name = 'smskeepalive';
}

0 comments on commit 6f5c756

Please sign in to comment.