Fix data type for data_value in databases (#1054)
Signed-off-by: Ivan Milošević <iva@blokovi.com>
This commit is contained in:
parent
5e145858f1
commit
cc90f568b6
|
@ -16,7 +16,7 @@ const table = `CREATE TABLE IF NOT EXISTS messages (
|
|||
value double,
|
||||
string_value text,
|
||||
bool_value boolean,
|
||||
data_value text,
|
||||
data_value blob,
|
||||
sum double,
|
||||
time double,
|
||||
update_time double,
|
||||
|
|
|
@ -59,7 +59,7 @@ func migrateDB(db *sqlx.DB) error {
|
|||
value FLOAT,
|
||||
string_value TEXT,
|
||||
bool_value BOOL,
|
||||
data_value TEXT,
|
||||
data_value BYTEA,
|
||||
sum FLOAT,
|
||||
time FLOAT,
|
||||
update_time FLOAT,
|
||||
|
|
Loading…
Reference in New Issue