Merge branch 'master' into i18n

This commit is contained in:
Alf Sebastian Houge
2023-01-25 23:00:25 +01:00
committed by GitHub
11 changed files with 40087 additions and 12247 deletions

View File

@@ -60,6 +60,7 @@ type Vehicle struct {
Base
Nickname string `json:"nickname"`
Registration string `json:"registration"`
VIN string `json:"vin"`
Make string `json:"make"`
Model string `json:"model"`
YearOfManufacture int `json:"yearOfManufacture"`

View File

@@ -21,6 +21,11 @@ var migrations = []localMigration{
{
Name: "2021_02_07_00_09_LowerCaseEmails",
Query: "update users set email=lower(email)",
},
{
Name: "2022_03_08_13_16_AddVIN",
Query: "ALTER TABLE vehicles ADD COLUMN vin text",
},
}