mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
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:
parent
1c8de67610
commit
f45c04a3aa
@ -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()
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user