This commit is contained in:
xxj
2021-02-02 15:25:25 +08:00
parent 689c8a30d9
commit ea7c73db90
2 changed files with 2 additions and 2 deletions

View File

@@ -195,7 +195,7 @@ go generate
CHCP 65001
```
### table notes default
### column notes default
- Add a comment to the column starting with `[@gorm default:'test']`
- example `[@gorm default:'test';->;<-:create]this is my notes` Indicates that the default value is 'test',can read/creat/write