mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
pg migration: advise checking out main branch
This commit is contained in:
parent
c4064d0fa6
commit
27ba8b071a
1 changed files with 5 additions and 4 deletions
|
|
@ -81,10 +81,11 @@ If you don't want to wait, you can create a fresh database and then import your
|
|||
|
||||
1. Revert to a prior commit: e789e08c
|
||||
2. Export your events: "deno task db:export > events.jsonl"
|
||||
3. Drop your old database: "dropdb ditto"
|
||||
4. Create a new database: "createdb ditto"
|
||||
5. Start Ditto
|
||||
6. While Ditto is running, import your events: "cat events.jsonl | deno task db:import"`);
|
||||
3. Checkout the latest commit: "git checkout main && git pull"
|
||||
4. Drop your old database: "dropdb ditto"
|
||||
5. Create a new database: "createdb ditto"
|
||||
6. Start Ditto
|
||||
7. While Ditto is running, import your events: "cat events.jsonl | deno task db:import"`);
|
||||
|
||||
const emojis = ['⚡', '🐛', '🔎', '😂', '😅', '😬', '😭', '🙃', '🤔', '🧐', '🧐', '🫠'];
|
||||
iid = setInterval(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue