Skip to content
Snippets Groups Projects
Unverified Commit f3cc916b authored by Martin Weise's avatar Martin Weise
Browse files

Removed the base unit stuff as it is not needed

parent 9082ec30
Branches
Tags
4 merge requests!231CI: Remove build for log-service,!228Better error message handling in the frontend,!223Release of version 1.4.0,!216Resolve "Fix the unit independent search"
...@@ -160,7 +160,6 @@ CREATE TABLE IF NOT EXISTS `mdb_columns` ...@@ -160,7 +160,6 @@ CREATE TABLE IF NOT EXISTS `mdb_columns`
d INT, d INT,
auto_generated BOOLEAN DEFAULT false, auto_generated BOOLEAN DEFAULT false,
is_null_allowed BOOLEAN NOT NULL DEFAULT true, is_null_allowed BOOLEAN NOT NULL DEFAULT true,
base_unit VARCHAR(100) NULL,
val_min NUMERIC NULL, val_min NUMERIC NULL,
val_max NUMERIC NULL, val_max NUMERIC NULL,
mean NUMERIC NULL, mean NUMERIC NULL,
......
...@@ -93,10 +93,6 @@ public class ColumnDto { ...@@ -93,10 +93,6 @@ public class ColumnDto {
@Field(name = "d", type = FieldType.Integer) @Field(name = "d", type = FieldType.Integer)
private Integer d; private Integer d;
@Schema(example = "KELVIN")
@Field(name = "base_unit", type = FieldType.Keyword)
private String baseUnit;
@Schema(example = "0") @Schema(example = "0")
@Field(name = "val_min", type = FieldType.Double) @Field(name = "val_min", type = FieldType.Double)
private BigDecimal valMin; private BigDecimal valMin;
......
...@@ -116,9 +116,6 @@ public class TableColumn implements Comparable<TableColumn> { ...@@ -116,9 +116,6 @@ public class TableColumn implements Comparable<TableColumn> {
@Column @Column
private Integer d; private Integer d;
@Column(name = "base_unit")
private String baseUnit;
@Column(name = "val_min") @Column(name = "val_min")
private BigDecimal valMin; private BigDecimal valMin;
......
...@@ -36,9 +36,6 @@ ...@@ -36,9 +36,6 @@
"val_min": { "val_min": {
"type": "double" "type": "double"
}, },
"base_unit": {
"type": "keyword"
},
"val_max": { "val_max": {
"type": "double" "type": "double"
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment