|
@ -7,7 +7,9 @@ const init_queries = [ |
|
|
Images text, |
|
|
Images text, |
|
|
Latitude real NOT NULL, |
|
|
Latitude real NOT NULL, |
|
|
Longitude real NOT NULL, |
|
|
Longitude real NOT NULL, |
|
|
Passable INTERGER NOT NULL |
|
|
|
|
|
|
|
|
Passable INTERGER NOT NULL, |
|
|
|
|
|
Date text, |
|
|
|
|
|
Time text |
|
|
);`,
|
|
|
);`,
|
|
|
`CREATE TABLE IF NOT EXISTS Pluviometer (
|
|
|
`CREATE TABLE IF NOT EXISTS Pluviometer (
|
|
|
Id integer PRIMARY KEY autoincrement, |
|
|
Id integer PRIMARY KEY autoincrement, |
|
@ -15,7 +17,8 @@ const init_queries = [ |
|
|
Images text, |
|
|
Images text, |
|
|
Latitude real NOT NULL, |
|
|
Latitude real NOT NULL, |
|
|
Longitude real NOT NULL, |
|
|
Longitude real NOT NULL, |
|
|
Precipitation real NOT NULL |
|
|
|
|
|
|
|
|
Precipitation real NOT NULL, |
|
|
|
|
|
Time text |
|
|
);`,
|
|
|
);`,
|
|
|
`CREATE TABLE IF NOT EXISTS RainLevel (
|
|
|
`CREATE TABLE IF NOT EXISTS RainLevel (
|
|
|
Id integer PRIMARY KEY autoincrement, |
|
|
Id integer PRIMARY KEY autoincrement, |
|
@ -23,7 +26,9 @@ const init_queries = [ |
|
|
RainIdx INTEGER NOT NULL, |
|
|
RainIdx INTEGER NOT NULL, |
|
|
Images text, |
|
|
Images text, |
|
|
Latitude real NOT NULL, |
|
|
Latitude real NOT NULL, |
|
|
Longitude real NOT NULL |
|
|
|
|
|
|
|
|
Longitude real NOT NULL, |
|
|
|
|
|
Date text, |
|
|
|
|
|
Time text |
|
|
);`,
|
|
|
);`,
|
|
|
`CREATE TABLE IF NOT EXISTS RiverLevel (
|
|
|
`CREATE TABLE IF NOT EXISTS RiverLevel (
|
|
|
Id integer PRIMARY KEY autoincrement, |
|
|
Id integer PRIMARY KEY autoincrement, |
|
@ -31,7 +36,9 @@ const init_queries = [ |
|
|
RiverIdx INTEGER NOT NULL, |
|
|
RiverIdx INTEGER NOT NULL, |
|
|
Images text, |
|
|
Images text, |
|
|
Latitude real NOT NULL, |
|
|
Latitude real NOT NULL, |
|
|
Longitude real NOT NULL |
|
|
|
|
|
|
|
|
Longitude real NOT NULL, |
|
|
|
|
|
Date text, |
|
|
|
|
|
Time text |
|
|
);`,
|
|
|
);`,
|
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|