This commit is contained in:
@@ -10,7 +10,7 @@ namespace AyaNova.Models
|
|||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
public long TranslationId { get; set; }
|
public long TranslationId { get; set; }
|
||||||
|
|
||||||
//-------------
|
//-------------
|
||||||
[EmailAddress]
|
[EmailAddress]
|
||||||
public string EmailAddress { get; set; }
|
public string EmailAddress { get; set; }
|
||||||
@@ -28,6 +28,8 @@ namespace AyaNova.Models
|
|||||||
public string CurrencyName { get; set; }
|
public string CurrencyName { get; set; }
|
||||||
public bool Hour12 { get; set; }
|
public bool Hour12 { get; set; }
|
||||||
|
|
||||||
|
public string MapUrlTemplate { get; set; }
|
||||||
|
|
||||||
|
|
||||||
//relations
|
//relations
|
||||||
//https://docs.microsoft.com/en-us/ef/core/modeling/relationships#other-relationship-patterns
|
//https://docs.microsoft.com/en-us/ef/core/modeling/relationships#other-relationship-patterns
|
||||||
|
|||||||
@@ -1949,5 +1949,6 @@
|
|||||||
"Forward": "Vorwärts gehen",
|
"Forward": "Vorwärts gehen",
|
||||||
"Last": "Letzte",
|
"Last": "Letzte",
|
||||||
"GeoCapture": "Auf aktuellen Standort einstellen",
|
"GeoCapture": "Auf aktuellen Standort einstellen",
|
||||||
"GeoView": "Ansicht auf Karte"
|
"GeoView": "Ansicht auf Karte",
|
||||||
|
"MapUrlTemplate":"Karten-URL-Vorlage"
|
||||||
}
|
}
|
||||||
@@ -1949,5 +1949,6 @@
|
|||||||
"Forward": "Forward",
|
"Forward": "Forward",
|
||||||
"Last": "Last",
|
"Last": "Last",
|
||||||
"GeoCapture": "Set to current location",
|
"GeoCapture": "Set to current location",
|
||||||
"GeoView": "View on map"
|
"GeoView": "View on map",
|
||||||
|
"MapUrlTemplate":"Map URL template"
|
||||||
}
|
}
|
||||||
@@ -1949,5 +1949,6 @@
|
|||||||
"Forward": "Avanzar",
|
"Forward": "Avanzar",
|
||||||
"Last": "Último",
|
"Last": "Último",
|
||||||
"GeoCapture": "Establecer en la ubicación actual",
|
"GeoCapture": "Establecer en la ubicación actual",
|
||||||
"GeoView": "Ver en el mapa"
|
"GeoView": "Ver en el mapa",
|
||||||
|
"MapUrlTemplate":"Plantilla de URL de mapa"
|
||||||
}
|
}
|
||||||
@@ -1949,5 +1949,6 @@
|
|||||||
"Forward": "Avance",
|
"Forward": "Avance",
|
||||||
"Last": "Dernier",
|
"Last": "Dernier",
|
||||||
"GeoCapture": "Défini sur l'emplacement actuel",
|
"GeoCapture": "Défini sur l'emplacement actuel",
|
||||||
"GeoView": "Voir sur la carte"
|
"GeoView": "Voir sur la carte",
|
||||||
|
"MapUrlTemplate":"Modèle d'URL de carte"
|
||||||
}
|
}
|
||||||
@@ -22,7 +22,7 @@ namespace AyaNova.Util
|
|||||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||||
private const int DESIRED_SCHEMA_LEVEL = 15;
|
private const int DESIRED_SCHEMA_LEVEL = 15;
|
||||||
|
|
||||||
internal const long EXPECTED_COLUMN_COUNT = 444;
|
internal const long EXPECTED_COLUMN_COUNT = 445;
|
||||||
internal const long EXPECTED_INDEX_COUNT = 144;
|
internal const long EXPECTED_INDEX_COUNT = 144;
|
||||||
|
|
||||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||||
@@ -338,7 +338,7 @@ $BODY$;
|
|||||||
//Add user options table
|
//Add user options table
|
||||||
await ExecQueryAsync("CREATE TABLE auseroptions (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, " +
|
await ExecQueryAsync("CREATE TABLE auseroptions (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, " +
|
||||||
"userid bigint not null REFERENCES auser (id), translationid bigint not null REFERENCES atranslation (id), languageoverride text, timezoneoverride text, " +
|
"userid bigint not null REFERENCES auser (id), translationid bigint not null REFERENCES atranslation (id), languageoverride text, timezoneoverride text, " +
|
||||||
"currencyname text, hour12 bool not null, emailaddress text, uicolor varchar(12) not null default '#000000')");
|
"currencyname text, hour12 bool not null, emailaddress text, uicolor varchar(12) not null default '#000000', mapurltemplate text)");
|
||||||
|
|
||||||
|
|
||||||
//Prime the db with the default SuperUser account
|
//Prime the db with the default SuperUser account
|
||||||
|
|||||||
Reference in New Issue
Block a user