1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-migrations.git synced 2024-05-05 02:28:16 +03:00

use table_prefix from database config when creating migrations table

This commit is contained in:
f1ames 2014-02-25 12:51:23 +01:00
parent 5f584751d9
commit 5ffab5e738
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View file

@ -3,4 +3,5 @@ Icon?
.svn
nbproject
Thumbs.db
*.komodoproject
*.komodoproject
.idea

View file

@ -172,7 +172,7 @@ class Model_Minion_Migration extends Model
if ( ! count($query))
{
$sql = View::factory('minion/task/migrations/schema')
->set('table_name', $this->_table)
->set('table_name', $this->_db->table_prefix() . $this->_table)
->render();
$this->_db->query(NULL, $sql);