ephraimbuddy commented on a change in pull request #21462:
URL: https://github.com/apache/airflow/pull/21462#discussion_r808073526



##########
File path: tests/utils/test_db.py
##########
@@ -50,23 +50,6 @@ def 
test_database_schema_and_sqlalchemy_model_are_in_sync(self):
             # ignore indices created by celery
             lambda t: (t[0] == 'remove_index' and t[1].name == 'task_id'),
             lambda t: (t[0] == 'remove_index' and t[1].name == 'taskset_id'),
-            # Ignore all the fab tables
-            lambda t: (t[0] == 'remove_table' and t[1].name == 
'ab_permission'),
-            lambda t: (t[0] == 'remove_table' and t[1].name == 
'ab_register_user'),
-            lambda t: (t[0] == 'remove_table' and t[1].name == 'ab_role'),
-            lambda t: (t[0] == 'remove_table' and t[1].name == 
'ab_permission_view'),
-            lambda t: (t[0] == 'remove_table' and t[1].name == 
'ab_permission_view_role'),
-            lambda t: (t[0] == 'remove_table' and t[1].name == 'ab_user_role'),
-            lambda t: (t[0] == 'remove_table' and t[1].name == 'ab_user'),
-            lambda t: (t[0] == 'remove_table' and t[1].name == 'ab_view_menu'),
-            # Ignore all the fab indices
-            lambda t: (t[0] == 'remove_index' and t[1].name == 
'permission_id'),
-            lambda t: (t[0] == 'remove_index' and t[1].name == 'name'),
-            lambda t: (t[0] == 'remove_index' and t[1].name == 'user_id'),
-            lambda t: (t[0] == 'remove_index' and t[1].name == 'username'),
-            lambda t: (t[0] == 'remove_index' and t[1].name == 'field_string'),
-            lambda t: (t[0] == 'remove_index' and t[1].name == 'email'),
-            lambda t: (t[0] == 'remove_index' and t[1].name == 
'permission_view_id'),

Review comment:
       We have to monitor these models since they are now part of airflow




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to