Minor logic error

Trash strict mode off during default migrations: this will occur as a one-time during the RC->stable since the code exists in the migration.
This commit is contained in:
Samuel Georges 2016-04-30 06:01:51 +10:00
parent 1c8de67610
commit f45c04a3aa
3 changed files with 3 additions and 9 deletions

View File

@ -5,9 +5,9 @@ use October\Rain\Database\Updates\Migration;
class DbBackendTimestampFix extends Migration
{
protected $backendTables = [
'users',
'user_groups',
'access_log',
'backend_users',
'backend_user_groups',
'backend_access_log',
];
public function up()

View File

@ -366,8 +366,6 @@ class UpdateManager
*/
public function migrateModule($module)
{
DbDongle::disableStrictMode();
$this->migrator->run(base_path() . '/modules/'.strtolower($module).'/database/migrations');
$this->note($module);

View File

@ -385,8 +385,6 @@ class VersionManager
*/
protected function applyDatabaseScript($code, $version, $script)
{
DbDongle::disableStrictMode();
/*
* Execute the database PHP script
*/
@ -407,8 +405,6 @@ class VersionManager
*/
protected function removeDatabaseScript($code, $version, $script)
{
DbDongle::disableStrictMode();
/*
* Execute the database PHP script
*/