public static void extendDatabaseSchema ( final App app , final JsonSchema newSchema ) throws FrameworkException , URISyntaxException { try ( final Tx tx = app . tx ( ) ) { newSchema . createDatabaseSchema ( app , JsonSchema . ImportMode . extend ) ; tx . success ( ) ; } }
Extend the current Structr schema by the elements contained in the given new schema .