mirror of
https://github.com/Oreolek/kohana-migrations.git
synced 2024-06-26 03:40:54 +03:00
Namespacing the migrations table, fixes #10
This commit is contained in:
parent
75c2c27f08
commit
973a1d10ea
|
@ -15,7 +15,7 @@ class Model_Minion_Migration extends Model
|
||||||
* The table that's used to store the migrations
|
* The table that's used to store the migrations
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $_table = 'migrations';
|
protected $_table = 'minion_migrations';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs the model, taking a Database connection as the first and only
|
* Constructs the model, taking a Database connection as the first and only
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `migrations` (
|
CREATE TABLE `minion_migrations` (
|
||||||
`timestamp` varchar(14) NOT NULL,
|
`timestamp` varchar(14) NOT NULL,
|
||||||
`description` varchar(100) NOT NULL,
|
`description` varchar(100) NOT NULL,
|
||||||
`location` varchar(100) NOT NULL,
|
`location` varchar(100) NOT NULL,
|
||||||
|
|
Loading…
Reference in a new issue