Reverted change of the dashboard configuration size
This commit is contained in:
parent
5531f92c6a
commit
5eb24b2e18
@ -221,10 +221,6 @@ public class SqlDatabaseUpgradeService implements DatabaseEntitiesUpgradeService
|
||||
}
|
||||
}
|
||||
}
|
||||
try {
|
||||
conn.createStatement().execute("ALTER TABLE dashboard ALTER COLUMN configuration SET DATA TYPE varchar(100000000);"); //NOSONAR, ignoring because method used to execute thingsboard database upgrade script
|
||||
} catch (Exception e) {
|
||||
}
|
||||
log.info("Schema updated.");
|
||||
}
|
||||
break;
|
||||
|
||||
@ -108,7 +108,7 @@ CREATE TABLE IF NOT EXISTS customer (
|
||||
|
||||
CREATE TABLE IF NOT EXISTS dashboard (
|
||||
id varchar(31) NOT NULL CONSTRAINT dashboard_pkey PRIMARY KEY,
|
||||
configuration varchar(100000000),
|
||||
configuration varchar(10000000),
|
||||
assigned_customers varchar(1000000),
|
||||
search_text varchar(255),
|
||||
tenant_id varchar(31),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user