mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 15:18:01 +00:00
Add SQL syntax highlighting to the code block.
This commit is contained in:
@@ -10,6 +10,6 @@ restart it manually or you can tell `truncate` to do it for you. By
|
|||||||
appending `restart identity` to the end of a `truncate` statement, Postgres
|
appending `restart identity` to the end of a `truncate` statement, Postgres
|
||||||
will make sure to restart any associated sequences at `1`.
|
will make sure to restart any associated sequences at `1`.
|
||||||
|
|
||||||
```
|
```sql
|
||||||
truncate pokemons, trainers, pokemons_trainers restart identity;
|
truncate pokemons, trainers, pokemons_trainers restart identity;
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user