Skip to content

Commit 2a17500

Browse files
committed
Force enable site in migrations
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent 105cfed commit 2a17500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/EE/Migration/SiteContainers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static function generate_site_docker_compose_file( $site_info, $site_obje
111111
public static function enable_site( $site_info, $site_object ) {
112112
EE::debug( "Start enabling ${site_info['site_url']}" );
113113
try {
114-
$site_object->enable( [ $site_info['site_url'] ], [], false );
114+
$site_object->enable( [ $site_info['site_url'] ], [ 'force' => true ], false );
115115
} catch ( \Exception $e ) {
116116
throw new \Exception( $e->getMessage() );
117117
}

0 commit comments

Comments
 (0)