added field - version
This commit is contained in:
parent
8eca5622aa
commit
1fbc78c357
1
dal/schema/000021_init.down.sql
Normal file
1
dal/schema/000021_init.down.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE answer DROP COLUMN IF EXISTS version;
|
||||||
1
dal/schema/000021_init.up.sql
Normal file
1
dal/schema/000021_init.up.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE answer ADD COLUMN version integer NOT NULL default 0;
|
||||||
@ -131,6 +131,7 @@ type Answer struct {
|
|||||||
OS string
|
OS string
|
||||||
Start bool
|
Start bool
|
||||||
Utm UTMSavingMap
|
Utm UTMSavingMap
|
||||||
|
Version int
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResultContent struct {
|
type ResultContent struct {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user