refactor: Repeated boilerplate code between upload to database forms (#16756)

* abstract boilerplate code into class and rename csv to file

* add db migration

* fix some stuff

* more renaming of csv to file

* rename in translations

* update down revision

* update down revision

* bump chart version

* switch to alter column name approach in db migration

* fix db migration for MySQL

* db migration conflict
This commit is contained in:
Shiva Raisinghani
2021-10-25 03:53:06 -07:00
committed by GitHub
parent 4f1d202430
commit ef3afbde82
53 changed files with 205 additions and 251 deletions

View File

@@ -133,7 +133,7 @@ class TestDatabaseModel(SupersetTestCase):
}
},
"metadata_cache_timeout": {},
"schemas_allowed_for_csv_upload": []
"schemas_allowed_for_file_upload": []
}
"""
@@ -206,7 +206,7 @@ class TestDatabaseModel(SupersetTestCase):
}
},
"metadata_cache_timeout": {},
"schemas_allowed_for_csv_upload": []
"schemas_allowed_for_file_upload": []
}
"""