mirror of
https://github.com/jbranchaud/til
synced 2026-01-07 00:58:02 +00:00
Add sql text highlighting
This commit is contained in:
@@ -4,7 +4,7 @@ Using the `alter table` command in PostgreSQL, you can rename an existing
|
|||||||
table. This command will also update any references to the table such as via
|
table. This command will also update any references to the table such as via
|
||||||
foreign key constraints. Just run a command like the following:
|
foreign key constraints. Just run a command like the following:
|
||||||
|
|
||||||
```
|
```sql
|
||||||
alter table ingredient_types rename to item_types;
|
alter table ingredient_types rename to item_types;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user