anchor.diff:  	GOTO:EOF
   
   :end
  -	exit+	exit
  
positive.code: :: Create the schema
  	
  	cd "%PROJECT_BASE%galaxy_manager"
  		mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql"
  		
  	:: (galaxy_manager)
  	
  	cd "%PROJECT_BASE%"
  	cd "%PROJECT_BASE%galaxy_manager\scripts"
  		for /F %%A IN ('dir /b "*.sql" ^| sort') do (
  			mysql --password=%db_pass% --host=%db_host% --user=%db_user% --database=galaxy_manager --default-character-set=utf8 < "%%A"
  		ECHO. Installing %%A [Done]
  		)
  		
  	cd "%PROJECT_BASE%galaxy_manager\functions"
  		for /F %%A IN ('dir /b "*.sql" ^| sort') do (
  			mysql --password=%db_pass% --host=%db_host% --user=%db_user% --database=galaxy_manager --default-character-set=utf8 < "%%A"
  		ECHO. Installing %%A [Done]
  		)
  		
  	cd "%PROJECT_BASE%galaxy_manager\procedures"
  		for /F %%A IN ('dir /b "*.sql" ^| sort') do (
  			mysql --password=%db_pass% --host=%db_host% --user=%db_user% --database=galaxy_manager --default-character-set=utf8 --comments < "%%A"
  		ECHO. Installing %%A [Done]
  		)
  	GOTO:MainMenu
  	
  :SchemaSWGANH_STATIC
  	cd "%PROJECT_BASE%swganh_static"
  		mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql"
  		
  	:: (swganh_static)
  	
  	cd "%PROJECT_BASE%"
  	cd "%PROJECT_BASE%swganh_static\scripts"
  		for /F %%A IN ('dir /b "*.sql" ^| sort') do (
  			mysql --password=%db_pass% --host=%db_host% --user=%db_user% --database=swganh_static --default-character-set=utf8 < "%%A"
  		ECHO. Installing %%A [Done]
  		)
  		
  	cd "%PROJECT_BASE%swganh_static\functions"
  		for /F %%A IN ('dir /b "*.sql" ^| sort') do (
  			mysql --password=%db_pass% --host=%db_host% --user=%db_user% --database=swganh_static --default-character-set=utf8 < "%%A"
  		ECHO. Installing %%A [Done]
  		)
  		
  	cd "%PROJECT_BASE%swganh_static\procedures"
  		for /F %%A IN ('dir /b "*.sql" ^| sort') do (
  			mysql --password=%db_pass% --host=%db_host% --user=%db_user% --database=swganh_static --default-character-set=utf8 --comments < "%%A"
  		ECHO. Installing %%A [Done]
  		)
  	GOTO:MainMenu
  	
  :SchemaSetup
  
negative.code: 	ECHO.
  	ECHO.                              Please Wait
  	ECHO.
  	
  	cd "%PROJECT_BASE%galaxy"
  	for /F %%A IN ('dir "*.sql" /B /S') do (
  		mysql --password=%db_pass% --host=%db_host% --user=%db_user% --database=galaxy  < "%%A"
  		ECHO. Installing %%~nA [Done]
  	)
  
  	cd "%PROJECT_BASE%galaxy_manager"
  	for /F %%A IN ('dir "*.sql" /B /S') do (
  		mysql --password=%db_pass% --host=%db_host% --user=%db_user% --database=galaxy_manager --default-character-set=utf8 < "%%A"
  		ECHO. Installing %%~nA [Done]
  	)
  	
  	cd "%PROJECT_BASE%swganh_static"
  	for /F %%A IN ('dir "*.sql" /B /S') do (
  		mysql --password=%db_pass% --host=%db_host% --user=%db_user% --database=swganh_static --default-character-set=utf8 < "%%A"
  		ECHO. Installing %%~nA [Done]
  	)
  	
  	GOTO:MainMenu
  	
  :SchemaGalaxy
  
  	cd "%PROJECT_BASE%galaxy"
  	for /F %%A IN ('dir "*.sql" /B /S') do (
  		mysql --password=%db_pass% --host=%db_host% --user=%db_user% --database=galaxy  < "%%A"
  		ECHO. Installing %%~nA [Done]
  	)
  		
  	GOTO:MainMenu
  	
  