CrazyIter 5 years ago
parent
commit
a8eedffbba

+ 2 - 1
TEAMModelOS.Service/Models/Core/School.cs

@@ -13,8 +13,9 @@ namespace TEAMModelOS.Service.Models.Core
         }
         [JsonProperty(PropertyName = "id")]
         public string id { get; set; }
-        [PartitionKey]
         public string schoolCode { get; set; }
+        [PartitionKey]
+        public string countryCode { get; set; }
         public string schoolName { get; set; }
         public List<Period> period { get; set; }
 

+ 1 - 1
TEAMModelOS/appsettings.Development.json

@@ -18,7 +18,7 @@
       "AzureTableDialect": ""
     },
     "CosmosDB": {
-      "ConnectionString": "https://192.168.8.192:8081",
+      "ConnectionString": "https://192.168.8.128:8081",
       "ConnectionKey": "GCe8wmHSRl/3hKUNXW6TfLiNTs3Vw8aBC9LKuma1Q4aUfukYqWb7lO0UCnWAJTeWmbMqU8JsufmIZQ3lk0VIbA==",
       "Database": "TEAMModelOS",
       "AzureTableDialect": "",