mirror of
https://github.com/Dictionarry-Hub/database.git
synced 2026-03-15 09:30:08 -04:00
Change Not Original or English Conditions
This commit is contained in:
27
ops/40.change-not-original-or-english-conditions.sql
Normal file
27
ops/40.change-not-original-or-english-conditions.sql
Normal file
@@ -0,0 +1,27 @@
|
||||
-- @operation: export
|
||||
-- @entity: batch
|
||||
-- @name: Change Not Original or English Conditions
|
||||
-- @exportedAt: 2026-02-10T01:47:14.030Z
|
||||
-- @opIds: 1510, 1511
|
||||
|
||||
-- --- BEGIN op 1510 ( update custom_format "Not Original or English" )
|
||||
UPDATE custom_format_conditions
|
||||
SET required = 1
|
||||
WHERE custom_format_name = 'Not Original or English'
|
||||
AND name = 'English'
|
||||
AND type = 'language'
|
||||
AND arr_type = 'all'
|
||||
AND negate = 1
|
||||
AND required = 0;
|
||||
-- --- END op 1510
|
||||
|
||||
-- --- BEGIN op 1511 ( update custom_format "Not Original or English" )
|
||||
UPDATE custom_format_conditions
|
||||
SET required = 1
|
||||
WHERE custom_format_name = 'Not Original or English'
|
||||
AND name = 'Original'
|
||||
AND type = 'language'
|
||||
AND arr_type = 'all'
|
||||
AND negate = 1
|
||||
AND required = 0;
|
||||
-- --- END op 1511
|
||||
Reference in New Issue
Block a user