Skip to content

Commit 02e9aa6

Browse files
committed
Update README.md
1 parent 8134b4e commit 02e9aa6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,14 @@ flyctl secrets set TOKEN_FACTORY_ADDRESS=0xEa5CE8534c4a1462C56Ef82a0a82B7770c0c2
123123
flyctl deploy --ha=false
124124
flyctl deploy --ha=false --config fly.staging.toml
125125
```
126+
127+
### How to reattach new database to existed app
128+
```shell
129+
fly postgres detach pump-fun-backend-staging-db --config fly.staging.toml
130+
131+
fly postgres create
132+
133+
fly postgres attach pump-fun-backend-staging-db-2 --app pump-fun-backend-staging
134+
135+
flyctl deploy --ha=false --config fly.staging.toml
136+
```

0 commit comments

Comments
 (0)