diff --git a/migration/331b-trunk/postgresql/087_BF1869844.sql b/migration/331b-trunk/postgresql/087_BF1869844.sql index 2dc47ebcc8..89b2ff3b74 100644 --- a/migration/331b-trunk/postgresql/087_BF1869844.sql +++ b/migration/331b-trunk/postgresql/087_BF1869844.sql @@ -5,5 +5,6 @@ SELECT ad_column_id FROM AD_TABLE t, AD_COLUMN c WHERE t.ad_table_id = c.ad_table_id AND columnname = 'AD_Client_ID' - AND t.accesslevel IN (1, 2, 3) - AND c.ad_val_rule_id IS NULL); \ No newline at end of file + AND t.accesslevel IN ('1', '2', '3') + AND c.ad_val_rule_id IS NULL) +;