From 973a1d10ead64f87a6905e47e5c92404d5316c36 Mon Sep 17 00:00:00 2001 From: Matt Button Date: Thu, 20 Jan 2011 23:12:06 +0000 Subject: [PATCH] Namespacing the migrations table, fixes #10 --- classes/model/minion/migration.php | 2 +- schema.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/model/minion/migration.php b/classes/model/minion/migration.php index 7c5c031..44f6e23 100644 --- a/classes/model/minion/migration.php +++ b/classes/model/minion/migration.php @@ -15,7 +15,7 @@ class Model_Minion_Migration extends Model * The table that's used to store the migrations * @var string */ - protected $_table = 'migrations'; + protected $_table = 'minion_migrations'; /** * Constructs the model, taking a Database connection as the first and only diff --git a/schema.sql b/schema.sql index ec5fcac..b970e77 100644 --- a/schema.sql +++ b/schema.sql @@ -1,6 +1,6 @@ /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `migrations` ( +CREATE TABLE `minion_migrations` ( `timestamp` varchar(14) NOT NULL, `description` varchar(100) NOT NULL, `location` varchar(100) NOT NULL,