优化命名、修复表格显示异常 #6
|
@ -59,5 +59,5 @@ xorm watches tables and indexes and sync schema:
|
|||
3) use the indexes definition in struct field tag to create or drop indexes.
|
||||
|
||||
```Go
|
||||
err := engine.Sync2(new(User))
|
||||
err := engine.Sync(new(User))
|
||||
```
|
||||
|
|
|
@ -119,7 +119,7 @@ type Conversion interface {
|
|||
<td>remark</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<tr>
|
||||
<td>BIT
|
||||
</td>
|
||||
<td>BIT
|
||||
|
@ -131,7 +131,7 @@ type Conversion interface {
|
|||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<tr>
|
||||
<td>TINYINT
|
||||
</td>
|
||||
<td>TINYINT
|
||||
|
|
|
@ -31,5 +31,5 @@ Sync和Sync2为同一个函数。Sync函数将进行如下的同步操作:
|
|||
|
||||
|
||||
```Go
|
||||
err := engine.Sync2(new(User), new(Group))
|
||||
err := engine.Sync(new(User), new(Group))
|
||||
```
|
Loading…
Reference in New Issue
Block a user