DB migration, proposals.

* DB schema is migrated.
* Added mechanism for proposing app improvements.
This commit is contained in:
zegkljan
2022-08-13 02:20:34 +02:00
parent 2379a33594
commit 19fc8e0322
6 changed files with 122 additions and 20 deletions
+7
View File
@@ -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"`
}