Skip to content

Commit

Permalink
Merge pull request #503 from portabilis/schema-pmiotopic
Browse files Browse the repository at this point in the history
Remove o schema `pmiotopic`
  • Loading branch information
edersoares authored Mar 1, 2019
2 parents b780637 + 3b4c2ed commit 7900de0
Show file tree
Hide file tree
Showing 67 changed files with 2 additions and 10,851 deletions.
2 changes: 1 addition & 1 deletion app/Console/Commands/DatabaseRestoreCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private function restoreDatabaseUsingBackupFile($database, $filename)
*/
private function alterSearchPathInDatabase($database)
{
$definition = 'echo "ALTER DATABASE %s SET search_path = \"\$user\", public, portal, cadastro, acesso, historico, pmicontrolesis, pmidrh, pmieducar, pmiotopic, urbano, modules;" | psql -h %s -p %s -U %s';
$definition = 'echo "ALTER DATABASE %s SET search_path = \"\$user\", public, portal, cadastro, acesso, historico, pmicontrolesis, pmieducar, urbano, modules;" | psql -h %s -p %s -U %s';

$command = sprintf(
$definition,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public function up()
CREATE SCHEMA modules;
CREATE SCHEMA pmicontrolesis;
CREATE SCHEMA pmieducar;
CREATE SCHEMA pmiotopic;
CREATE SCHEMA portal;
CREATE SCHEMA relatorio;
CREATE SCHEMA urbano;
Expand All @@ -44,7 +43,6 @@ public function down()
DROP SCHEMA modules;
DROP SCHEMA pmicontrolesis;
DROP SCHEMA pmieducar;
DROP SCHEMA pmiotopic;
DROP SCHEMA portal;
DROP SCHEMA relatorio;
DROP SCHEMA urbano;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7900de0

Please sign in to comment.