mirror of
https://github.com/Cernobor/oko-server.git
synced 2025-02-24 08:27:17 +00:00
DB migration, proposals.
* DB schema is migrated. * Added mechanism for proposing app improvements.
This commit is contained in:
@@ -60,6 +60,7 @@ type Update struct {
|
||||
Update []Feature `json:"update"`
|
||||
Delete []FeatureID `json:"delete"`
|
||||
DeletePhotos []FeaturePhotoID `json:"delete_photos"`
|
||||
Proposals []Proposal `json:"proposals"`
|
||||
}
|
||||
|
||||
type HandshakeChallenge struct {
|
||||
@@ -92,3 +93,9 @@ type PhotoMetadata struct {
|
||||
ID FeaturePhotoID `json:"id"`
|
||||
ThumbnailFilename string `json:"thumbnail_filename"`
|
||||
}
|
||||
|
||||
type Proposal struct {
|
||||
OwnerID int `json:"owner_id"`
|
||||
Description string `json:"description"`
|
||||
How string `json:"how"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user