@@ -11,11 +11,6 @@ public partial class ResetStructure : Migration
11
11
/// <inheritdoc />
12
12
protected override void Up ( MigrationBuilder migrationBuilder )
13
13
{
14
- // MANUALLY ADDED:
15
- // Adding timescale extension to the database
16
- migrationBuilder . Sql ( "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;" ) ;
17
- //
18
-
19
14
migrationBuilder . CreateTable (
20
15
name : "DefaultLocalizationPoses" ,
21
16
columns : table => new
@@ -70,19 +65,6 @@ protected override void Up(MigrationBuilder migrationBuilder)
70
65
table . PrimaryKey ( "PK_Installations" , x => x . Id ) ;
71
66
} ) ;
72
67
73
- migrationBuilder . CreateTable (
74
- name : "RobotBatteryTimeseries" ,
75
- columns : table => new
76
- {
77
- BatteryLevel = table . Column < float > ( type : "real" , nullable : false ) ,
78
- Time = table . Column < DateTime > ( type : "timestamp with time zone" , nullable : false ) ,
79
- RobotId = table . Column < string > ( type : "text" , nullable : false ) ,
80
- MissionId = table . Column < string > ( type : "text" , nullable : true )
81
- } ,
82
- constraints : table =>
83
- {
84
- } ) ;
85
-
86
68
migrationBuilder . CreateTable (
87
69
name : "RobotModels" ,
88
70
columns : table => new
@@ -100,38 +82,6 @@ protected override void Up(MigrationBuilder migrationBuilder)
100
82
table . PrimaryKey ( "PK_RobotModels" , x => x . Id ) ;
101
83
} ) ;
102
84
103
- migrationBuilder . CreateTable (
104
- name : "RobotPoseTimeseries" ,
105
- columns : table => new
106
- {
107
- PositionX = table . Column < float > ( type : "real" , nullable : false ) ,
108
- PositionY = table . Column < float > ( type : "real" , nullable : false ) ,
109
- PositionZ = table . Column < float > ( type : "real" , nullable : false ) ,
110
- OrientationX = table . Column < float > ( type : "real" , nullable : false ) ,
111
- OrientationY = table . Column < float > ( type : "real" , nullable : false ) ,
112
- OrientationZ = table . Column < float > ( type : "real" , nullable : false ) ,
113
- OrientationW = table . Column < float > ( type : "real" , nullable : false ) ,
114
- Time = table . Column < DateTime > ( type : "timestamp with time zone" , nullable : false ) ,
115
- RobotId = table . Column < string > ( type : "text" , nullable : false ) ,
116
- MissionId = table . Column < string > ( type : "text" , nullable : true )
117
- } ,
118
- constraints : table =>
119
- {
120
- } ) ;
121
-
122
- migrationBuilder . CreateTable (
123
- name : "RobotPressureTimeseries" ,
124
- columns : table => new
125
- {
126
- Pressure = table . Column < float > ( type : "real" , nullable : false ) ,
127
- Time = table . Column < DateTime > ( type : "timestamp with time zone" , nullable : false ) ,
128
- RobotId = table . Column < string > ( type : "text" , nullable : false ) ,
129
- MissionId = table . Column < string > ( type : "text" , nullable : true )
130
- } ,
131
- constraints : table =>
132
- {
133
- } ) ;
134
-
135
85
migrationBuilder . CreateTable (
136
86
name : "Sources" ,
137
87
columns : table => new
0 commit comments