تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3375 أدوات العرض

Hello, I want to add a field through the web interface going to
Settings / Technical / Database Structure...

Is that method clean and sustainable, or does it have undesirable effectcs?

الصورة الرمزية
إهمال
أفضل إجابة

It is clean and sustainable, but if you want to do some calculation based on that new field, you cannot do it without programming (make a new module).

Also when you reinstall the database (for whatever reason), you have to do all the things again in the new database. So document your steps, with the exact same wording and capitalization.

Given the above, I prefer to make a module and install that. This guarantees you will always get the field (with the exact name), and you can easily do more with that field (use it in a calculation for example).

الصورة الرمزية
إهمال
أفضل إجابة

If you are only thinking of using one database and you will not need to replicate the field in a different database it is OK, as long as the database does not crash and you don't have to restore it from a backup

Otherwise, create the field with a module

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
مايو 25
2029
1
أبريل 25
1514
3
سبتمبر 24
14559
2
فبراير 24
2659
1
يوليو 23
2878