Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
8480 Tampilan

When I uninstall a module, its tables are deleted from the DB. 

 

Is there any way to avoid this behavior and don't lose the data?

Avatar
Buang

Can you please tell us more about your use case? Why do you want to keep the data? Would like to be able to reinstall the module and keep the data for that moment?

Penulis

Hi Miku, yes, it is the idea, to be able to have the data if we ever decide to reinstall the module.

Jawaban Terbai

You might want to consider backuping the data before uninstalling the module and restoring the backup data when it's needed again. This would be a universal solution.

The other option is to leave the module installed and instead of uninstalling it, remove all access rights from users that are related to the module. I guess one option is just to hide the menu item. These options aren't good solutions with modules that somehow modify existing modules.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Mei 21
9626
2
Des 18
11933
1
Mar 15
4056
1
Mar 15
10912
1
Nov 16
3827