Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3749 Переглядів

In case a new database is created using postgres command 'createdb' (for whatever reason), is there a good way to avoid having demo data in the database?  It seems a newly created database through postgres command is configured to have the demo data by default.

A workaround would be to change the 'demo' field of the base module from True to False by following command before installing any module, but I wonder if there is a smarter way to achieve the same.

update ir_module_module set demo = False where name = 'base';

 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
лип. 24
33918
1
бер. 15
7429
6
лип. 24
82602
1
лип. 24
22883
0
вер. 18
2655