Commit e79feac76dbc126507a5a39bf755c55c8a5c7180
1 parent
e2f1a347
Exists in
master
Ajustado conexão de banco;
portabilis/ieducar#167
Showing
2 changed files
with
7 additions
and
7 deletions
Show diff stats
ieducar/configuration/ieducar.ini
| @@ -53,10 +53,10 @@ | @@ -53,10 +53,10 @@ | ||
| 53 | [production] | 53 | [production] |
| 54 | ; Configurações de banco de dados | 54 | ; Configurações de banco de dados |
| 55 | app.database.dbname = ieducar | 55 | app.database.dbname = ieducar |
| 56 | -app.database.username = ieducar | ||
| 57 | -app.database.hostname = postgres95 | ||
| 58 | -app.database.password = ieducar | ||
| 59 | -app.database.port = 5433 | 56 | +app.database.username = postgres |
| 57 | +app.database.hostname = localhost | ||
| 58 | +app.database.password = postgres | ||
| 59 | +app.database.port = 5432 | ||
| 60 | 60 | ||
| 61 | ; Define uma url para redirecionar todas as requisições; | 61 | ; Define uma url para redirecionar todas as requisições; |
| 62 | ; app.routes.redirect_to = /intranet/manutencao.php | 62 | ; app.routes.redirect_to = /intranet/manutencao.php |
phinx.yml
| @@ -8,7 +8,7 @@ environments: | @@ -8,7 +8,7 @@ environments: | ||
| 8 | adapter: pgsql | 8 | adapter: pgsql |
| 9 | host: localhost | 9 | host: localhost |
| 10 | name: ieducar | 10 | name: ieducar |
| 11 | - user: ieducar | ||
| 12 | - pass: 'ieducar' | ||
| 13 | - port: 5430 | 11 | + user: postgres |
| 12 | + pass: postgres | ||
| 13 | + port: 5432 | ||
| 14 | charset: utf8 | 14 | charset: utf8 |