aau-giraf / web-api

The backend API for GIRAF — a .NET-core project written in C#.
GNU General Public License v3.0
2 stars 5 forks source link

Backend for weekplanner571 #297

Closed Lildhansen closed 1 year ago

Lildhansen commented 1 year ago

Description

updated the web-api to support changes made to the api-client and weekplanner, changing the variable nrOfDaysToDisplay to 2 versions based on orientation, also adding a boolean value for each orientation, by updating the database with the correct values.

related to these pull requests: https://github.com/aau-giraf/weekplanner/pull/890/ and https://github.com/aau-giraf/api_client/pull/119

Type of change

How Has This Been Tested?

This should be tested together with the weekplanner in this way:

Development Configuration Type "flutter --version" and "dart --version" in your CMD to check versions.

Checklist:

JonasStjerne commented 1 year ago

Der er ingen migrations til at update model i databasen, så db skal droppes for at få den nye model. Prøvede lige at generere migration selv med dotnet ef migrations add migrationName men får en fejl, når database herefter prøver at migrere. Ved ikke om det er nødvendigt i forhold til hvordan vores hosted db kører lige nu. Ellers ser det godt ud 👍 Approved