Skip to content

Commit

Permalink
Correções no projeto
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricioveronez committed Mar 28, 2024
1 parent 8e9f9cb commit fc486ae
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 919 deletions.
Binary file added imagem_teste/imagem01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/models/post.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const sequelize = require('sequelize');

const DB_DATABASE = process.env.DB_DATABASE || "kubedevnews";
const DB_USERNAME = process.env.DB_USERNAME || "kubedevnews";
const DB_PASSWORD = process.env.DB_PASSWORD || "Pg#123";
const DB_DATABASE = process.env.DB_DATABASE || "news";
const DB_USERNAME = process.env.DB_USERNAME || "newsuser";
const DB_PASSWORD = process.env.DB_PASSWORD || "newspwd";
const DB_HOST = process.env.DB_HOST || "localhost";

const seque = new sequelize.Sequelize(DB_DATABASE, DB_USERNAME, DB_PASSWORD, {
Expand Down
Loading

0 comments on commit fc486ae

Please sign in to comment.