diff --git a/code_blocks/integrations/scheduled-data-exports_2.pgsql b/code_blocks/integrations/scheduled-data-exports_2.pgsql index 78dbc9d2..c0e37985 100644 --- a/code_blocks/integrations/scheduled-data-exports_2.pgsql +++ b/code_blocks/integrations/scheduled-data-exports_2.pgsql @@ -7,7 +7,7 @@ FROM WHERE date(effective_end_time) > [targeted_date] AND date(start_time) <= [targeted_date] AND is_trial_period = 'false' - AND DATE_DIFF('s', start_time, end_time)::float > 0) + AND DATE_DIFF('s', start_time, end_time)::float > 0 AND ownership_type != 'FAMILY_SHARED' AND store != 'promotional' AND is_sandbox != 'true' diff --git a/code_blocks/integrations/scheduled-data-exports_4.pgsql b/code_blocks/integrations/scheduled-data-exports_4.pgsql index 6651ea4b..5fc6a942 100644 --- a/code_blocks/integrations/scheduled-data-exports_4.pgsql +++ b/code_blocks/integrations/scheduled-data-exports_4.pgsql @@ -8,7 +8,7 @@ FROM WHERE date(effective_end_time) > [targeted_date] AND date(start_time) <= [targeted_date] AND is_trial_period = 'false' - AND DATE_DIFF('s', start_time, end_time)::float > 0) + AND DATE_DIFF('s', start_time, end_time)::float > 0 AND ownership_type != 'FAMILY_SHARED' AND store != 'promotional' AND is_sandbox != 'true' diff --git a/code_blocks/integrations/scheduled-data-exports_9.pgsql b/code_blocks/integrations/scheduled-data-exports_9.pgsql index 20437f97..4ce45321 100644 --- a/code_blocks/integrations/scheduled-data-exports_9.pgsql +++ b/code_blocks/integrations/scheduled-data-exports_9.pgsql @@ -12,7 +12,7 @@ FROM WHERE date(effective_end_time) > [targeted_date] AND date(start_time) <= [targeted_date] AND is_trial_period = 'false' - AND DATE_DIFF('s', start_time, end_time)::float > 0) + AND DATE_DIFF('s', start_time, end_time)::float > 0 AND ownership_type != 'FAMILY_SHARED' AND store != 'promotional' AND is_sandbox != 'true'