Skip to content
Snippets Groups Projects
Commit 6a9888ea authored by Sabine Schröder's avatar Sabine Schröder
Browse files

before next crash: upload changes

parent 88cd8396
No related branches found
No related tags found
No related merge requests found
Pipeline #40122 passed with warnings
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
"coordinate_validator_id": 1, "coordinate_validator_id": 1,
"type_of_environment": 0, "type_of_environment": 0,
"type_of_area": 0, "type_of_area": 0,
"category": "",
"timezone": "", "timezone": "",
"additional_metadata": {} "additional_metadata": {}
}, },
...@@ -25,7 +24,6 @@ ...@@ -25,7 +24,6 @@
"coordinate_validator_id": 1, "coordinate_validator_id": 1,
"type_of_environment": 0, "type_of_environment": 0,
"type_of_area": 0, "type_of_area": 0,
"category": "",
"timezone": "", "timezone": "",
"additional_metadata": {} "additional_metadata": {}
}, },
...@@ -40,7 +38,6 @@ ...@@ -40,7 +38,6 @@
"coordinate_validator_id": 1, "coordinate_validator_id": 1,
"type_of_environment":0, "type_of_environment":0,
"type_of_area":0, "type_of_area":0,
"category":"",
"timezone":"", "timezone":"",
"additional_metadata": {} "additional_metadata": {}
} }
......
...@@ -43,8 +43,6 @@ class StationmetaCore_WithoutCoords(Base): ...@@ -43,8 +43,6 @@ class StationmetaCore_WithoutCoords(Base):
+------------------------------+--------------------------+-----------+----------+----------------------------------------------+ +------------------------------+--------------------------+-----------+----------+----------------------------------------------+
| type_of_area | integer | | not null | | | type_of_area | integer | | not null | |
+------------------------------+--------------------------+-----------+----------+----------------------------------------------+ +------------------------------+--------------------------+-----------+----------+----------------------------------------------+
| category | character varying(128) | | not null | |
+------------------------------+--------------------------+-----------+----------+----------------------------------------------+
| timezone | character varying(64) | | not null | | | timezone | character varying(64) | | not null | |
+------------------------------+--------------------------+-----------+----------+----------------------------------------------+ +------------------------------+--------------------------+-----------+----------+----------------------------------------------+
| additional_metadata | jsonb | | not null | | | additional_metadata | jsonb | | not null | |
......
...@@ -30,7 +30,6 @@ class StationmetaCoreBase(BaseModel): ...@@ -30,7 +30,6 @@ class StationmetaCoreBase(BaseModel):
coordinate_validation_date: dt.datetime coordinate_validation_date: dt.datetime
type_of_environment: int type_of_environment: int
type_of_area: int type_of_area: int
category: str
timezone: str timezone: str
additional_metadata: Json additional_metadata: Json
coordinate_validator_id: int coordinate_validator_id: int
...@@ -60,7 +59,6 @@ external_data_toar = { ...@@ -60,7 +59,6 @@ external_data_toar = {
"coordinate_validation_date":"2020-03-11T12:22:18.047974+01:00", "coordinate_validation_date":"2020-03-11T12:22:18.047974+01:00",
"type_of_environment":0, "type_of_environment":0,
"type_of_area":0, "type_of_area":0,
"category":"",
"timezone":"", "timezone":"",
"coordinate_validator_id": 1, "coordinate_validator_id": 1,
"additional_metadata": {} "additional_metadata": {}
......
...@@ -6,7 +6,6 @@ from typing import List ...@@ -6,7 +6,6 @@ from typing import List
from fastapi import APIRouter, Depends, HTTPException, Body from fastapi import APIRouter, Depends, HTTPException, Body
from sqlalchemy.orm import Session, sessionmaker from sqlalchemy.orm import Session, sessionmaker
from . import crud, schemas from . import crud, schemas
from sqlalchemy import create_engine
from toardb.utils.database import get_db from toardb.utils.database import get_db
router = APIRouter() router = APIRouter()
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"aggregation": 0, "aggregation": 0,
"data_start_date": "2003-09-07 15:30:00", "data_start_date": "2003-09-07 15:30:00",
"data_end_date": "2016-12-31 14:30:00", "data_end_date": "2016-12-31 14:30:00",
"measurement_method": "UV absorption", "measurement_method": 0,
"sampling_height": 7, "sampling_height": 7,
"additional_metadata": "{}", "additional_metadata": "{}",
"date_added": "2020-05-15 15:30:00", "date_added": "2020-05-15 15:30:00",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment