recreate_schemas¶
-
GenericDBWrapper.recreate_schemas(*tables) → dict[source]¶ Drop all tables then re-create them.
Shortcut for running
drop_schemas()followed bycreate_schemas().- Parameters
tables (str) – If one or more table names are specified, then only these tables will be affected.
- Return dict result
dict_keys(['tables_created', 'skipped_create', 'skipped_drop', 'tables_dropped'])