Skip to content

Commit 5c30d39

Browse files
committed
formatting
1 parent b49ecff commit 5c30d39

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/features/sharding/resharding/schema.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,14 @@ Before starting the resharding process for your database, double-check that you
4646

4747
Since PgDog is using logical replication to move and reshard data, a [publication](https://www.postgresql.org/docs/current/sql-createpublication.html) for the relevant tables needs to be created on the source database.
4848

49-
The simplest way to do this is to run the following command on the **source database**:
49+
The simplest way to do this is to run the following command:
5050

51-
```postgresql
52-
CREATE PUBLICATION pgdog FOR ALL TABLES;
53-
```
51+
=== "Source database"
52+
```postgresql
53+
CREATE PUBLICATION pgdog FOR ALL TABLES;
54+
```
5455

55-
This will make sure _all_ tables in your database will be resharded into the destination database cluster.
56+
This will make sure _all_ tables in your database will be copied and resharded into the destination database cluster.
5657

5758
!!! note "Multiple schemas"
5859
If you're using schemas other than `public`, create them on the destination database before running the schema sync.

0 commit comments

Comments
 (0)