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:
parent
5f584751d9
commit
5ffab5e738
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -3,4 +3,5 @@ Icon?
|
|||
.svn
|
||||
nbproject
|
||||
Thumbs.db
|
||||
*.komodoproject
|
||||
*.komodoproject
|
||||
.idea
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue