Merge pull request #344 from mozilla/rfk/issue-267
chore(clients): remove deprecated 'whitelisted' column from clients table
This commit is contained in:
Коммит
270ebf0a30
|
@ -6,4 +6,4 @@
|
||||||
// Update this if you add a new patch, and don't forget to update
|
// Update this if you add a new patch, and don't forget to update
|
||||||
// the documentation for the current schema in ../schema.sql.
|
// the documentation for the current schema in ../schema.sql.
|
||||||
|
|
||||||
module.exports.level = 11;
|
module.exports.level = 12;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- Drop whitelisted column
|
||||||
|
|
||||||
|
ALTER TABLE clients DROP COLUMN whitelisted;
|
||||||
|
|
||||||
|
UPDATE dbMetadata SET value = '12' WHERE name = 'schema-patch-level';
|
|
@ -0,0 +1,6 @@
|
||||||
|
-- (commented out to avoid accidentally running this in production...)
|
||||||
|
|
||||||
|
-- ALTER TABLE clients ADD COLUMN whitelisted BOOLEAN DEFAULT FALSE;
|
||||||
|
-- UPDATE clients SET whitelisted=trusted;
|
||||||
|
|
||||||
|
-- UPDATE dbMetadata SET value = '11' WHERE name = 'schema-patch-level';
|
Загрузка…
Ссылка в новой задаче