Skip to content

Commit

Permalink
fixing broken pages b/c db table doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Bennet Huber committed Mar 18, 2012
1 parent 4edb213 commit 6f5c756
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/smskeepalive/libraries/smskeepalive_install.php
Expand Up @@ -36,7 +36,7 @@ public function run_install()
//ALL_CLEAR one of "ac,clear,safe" //ALL_CLEAR one of "ac,clear,safe"
//STATUS one of "status, st" //STATUS one of "status, st"
// Also include table_prefix in name // 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, `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`delimiter` varchar(1) NOT NULL, `delimiter` varchar(1) NOT NULL,
`code_word` varchar(11) NOT NULL, `code_word` varchar(11) NOT NULL,
Expand Down Expand Up @@ -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').'smskeepalive3`');
$this->db->query('DROP TABLE `'.Kohana::config('database.default.table_prefix').'smskeepalive_whitelist`'); $this->db->query('DROP TABLE `'.Kohana::config('database.default.table_prefix').'smskeepalive_whitelist`');
} }
} }
2 changes: 1 addition & 1 deletion plugins/smskeepalive/models/smskeepalive.php
Expand Up @@ -17,5 +17,5 @@ class smskeepalive_Model extends ORM
{ {


// Database table name // Database table name
protected $table_name = 'smskeepalive3'; protected $table_name = 'smskeepalive';
} }

0 comments on commit 6f5c756

Please sign in to comment.