mirror of
https://github.com/djimboy/djimbo_template_aio3.git
synced 2026-07-25 09:44:29 +00:00
37 lines
1.1 KiB
Python
37 lines
1.1 KiB
Python
# Example with migration - Tables
|
|
#
|
|
# CONST_MIGRATE_TABLES = {
|
|
# 'old_table_name1': 'new_table_name1',
|
|
# 'old_table_name2': 'new_table_name2',
|
|
# }
|
|
|
|
|
|
# Example with migration - Columns
|
|
# CONST_MIGRATE_COLUMNS = {
|
|
# 'name_of_the_table_in_which_the_column_is_located1': {
|
|
# 'old_column_name11': 'new_column_name11',
|
|
# 'old_column_name12': 'new_column_name12',
|
|
# },
|
|
# 'name_of_the_table_in_which_the_column_is_located2': {
|
|
# 'old_column_name21': 'new_column_name21',
|
|
# 'old_column_name22': 'new_column_name22',
|
|
# },
|
|
# }
|
|
|
|
|
|
################################################################################
|
|
############################### MIGRATION TABLES ###############################
|
|
CONST_MIGRATE_TABLES = {
|
|
# 'storage_refillme': 'storage_refill',
|
|
# 'storage_purchasesme': 'storage_purchases',
|
|
}
|
|
|
|
################################################################################
|
|
############################### MIGRATION COLUMNS ##############################
|
|
CONST_MIGRATE_COLUMNS = {
|
|
# 'storage_refill': {
|
|
# 'refill_methodme': 'refill_method',
|
|
# 'refill_amountme': 'refill_amount',
|
|
# },
|
|
}
|