mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 22:15:13 +00:00
postman code update and import update
This commit is contained in:
Vendored
BIN
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -0,0 +1,24 @@
|
||||
# Run Collection Button Code
|
||||
|
||||
## HTML
|
||||
|
||||
```html
|
||||
<div class="postman-run-button"
|
||||
data-postman-action="collection/fork"
|
||||
data-postman-visibility="public"
|
||||
data-postman-var-1="25652688-f0cb3c13-063b-490a-aa7f-5af135aacbe6"
|
||||
data-postman-collection-url="entityId=25652688-f0cb3c13-063b-490a-aa7f-5af135aacbe6&entityType=collection&workspaceId=bb6fcb02-8388-4ce0-8623-63480a6dc153"></div>
|
||||
<script type="text/javascript">
|
||||
(function (p,o,s,t,m,a,n) {
|
||||
!p[s] && (p[s] = function () { (p[t] || (p[t] = [])).push(arguments); });
|
||||
!o.getElementById(s+t) && o.getElementsByTagName("head")[0].appendChild((
|
||||
(n = o.createElement("script")),
|
||||
(n.id = s+t), (n.async = 1), (n.src = m), n
|
||||
));
|
||||
}(window, document, "_pm", "PostmanRunObject", "https://run.pstmn.io/button.js"));
|
||||
</script>
|
||||
```
|
||||
|
||||
## Markdown
|
||||
|
||||
[<img src="https://run.pstmn.io/button.svg" alt="Run In Postman" style="width: 128px; height: 32px;">](https://god.gw.postman.com/run-collection/25652688-f0cb3c13-063b-490a-aa7f-5af135aacbe6?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D25652688-f0cb3c13-063b-490a-aa7f-5af135aacbe6%26entityType%3Dcollection%26workspaceId%3Dbb6fcb02-8388-4ce0-8623-63480a6dc153)
|
||||
@@ -0,0 +1,13 @@
|
||||
# Restore to local container
|
||||
|
||||
```bash
|
||||
docker exec nba_go-postgres-1 pg_dump -U nbago -Fc nba_db > ./2025.12.05_nba_backup.dump
|
||||
```
|
||||
|
||||
Copy file into target DB container
|
||||
|
||||
```bash
|
||||
docker exec nba_postgres psql -U nba_admin -d nba_analytics -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
|
||||
|
||||
pg_restore -U nba_admin -d nba_analytics --no-owner --no-acl ./2025.12.05_nba_backup.dump
|
||||
```
|
||||
Reference in New Issue
Block a user