Add onboarding weather and template gradients
This commit is contained in:
@@ -541,10 +541,17 @@ const VERSIONED_MIGRATIONS = [
|
||||
version: '2.8.9',
|
||||
label: 'v2.8.9 data source enablement schema',
|
||||
run: async function (pool) {
|
||||
await ensureColumn(pool, 'i_api_sources', 'enabled', 'TINYINT(1) NOT NULL DEFAULT 1', 'items_path');
|
||||
await ensureColumn(pool, 'i_api_sources', 'enabled', 'TINYINT(1) NOT NULL DEFAULT 1', 'api_url');
|
||||
await ensureColumn(pool, 'i_rss_feeds', 'enabled', 'TINYINT(1) NOT NULL DEFAULT 1', 'feed_url');
|
||||
await ensureColumn(pool, 'i_weather_locations', 'enabled', 'TINYINT(1) NOT NULL DEFAULT 1', 'precipitation_unit');
|
||||
}
|
||||
},
|
||||
{
|
||||
version: '2.10.1',
|
||||
label: 'v2.10.1 template background gradient schema',
|
||||
run: async function (pool) {
|
||||
await ensureColumn(pool, 'c_templates', 'background_gradient', 'LONGTEXT NULL', 'background_color');
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user