Skip to content

Commit

Permalink
started adding pg
Browse files Browse the repository at this point in the history
  • Loading branch information
jvelo committed Oct 2, 2024
1 parent 8a1d84a commit 6a8a5e8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
PRISMIC_ENDPOINT=https://jvelo.prismic.io

DATABASE_URL=mysql://<user>:<pscale_pw>@<host>.<region>.psdb.cloud/<pscale_db>?ssl={}

POSTGRES_HOST=<pg_host>
POSTGRES_USER=<pg_user>
POSTGRES_PASSWORD=<pg_password>
POSTGRES_DATABASE=<pg_database>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"graphql": "^15.1.0",
"husky": "^4.2.5",
"node-fetch": "^2.6.0",
"postgres": "^3.4.4",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"twitter-d": "0.4.0",
Expand Down
Empty file added scripts/migrate-likes.js
Empty file.
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10099,6 +10099,11 @@ postcss@^7.0.0, postcss@^7.0.14, postcss@^7.0.26, postcss@^7.0.32, postcss@^7.0.
picocolors "^0.2.1"
source-map "^0.6.1"

postgres@^3.4.4:
version "3.4.4"
resolved "https://registry.yarnpkg.com/postgres/-/postgres-3.4.4.tgz#adbe08dc1fff0dea3559aa4f83ded70a289a6cb8"
integrity sha512-IbyN+9KslkqcXa8AO9fxpk97PA4pzewvpi2B3Dwy9u4zpV32QicaEdgmF3eSQUzdRk7ttDHQejNgAEr4XoeH4A==

prelude-ls@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
Expand Down

0 comments on commit 6a8a5e8

Please sign in to comment.