Merge branch 'yefimov-andrey-increase-dashboard-conf'
This commit is contained in:
commit
f8a3181802
@ -214,6 +214,10 @@ public class SqlDatabaseUpgradeService implements DatabaseEntitiesUpgradeService
|
||||
conn.createStatement().execute("ALTER TABLE attribute_kv ADD COLUMN json_v json;");
|
||||
} catch (Exception e) {
|
||||
}
|
||||
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(10000000),
|
||||
configuration varchar(100000000),
|
||||
assigned_customers varchar(1000000),
|
||||
search_text varchar(255),
|
||||
tenant_id varchar(31),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user