you can add "entity" field for multicompany module in object table but not in detail table (already linked with foreign key)
Le 28/08/12 09:31, Laurent Destailleur (eldy) a écrit : > I have update the wiki documentation to add an answer for this with > minimal recommandation > http://wiki.dolibarr.org/index.php/Language_and_development_rules#SQL_rules > > > Le 28/08/2012 01:47, Marc-Henri Pamiseux a écrit : >> Hi, >> >> I'm creating a module for managing publications I'm creating a module >> for managing publications and i don't know if there is a prerequisite >> with the tables format. >> >> For example, I need to create a basic table settings. >> Should I still add the columns entity, fk_user_creat, datec, >> fk_user_modif, tms, rating, canvas and import_key ? >> I think only the rowid columns and sending_method would be useful. >> >> But it is perhaps better to anticipate future developments... >> Is there a typical pattern for SQL tables ? >> >> Hope to read you, >> >> >> _______________________________________________ >> Dolibarr-dev mailing list >> Dolibarr-dev@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > > > -- > Eldy (Laurent Destailleur). > --------------------------------------------------------------- > EMail: e...@destailleur.fr > Web: http://www.destailleur.fr > > Dolibarr (Project leader): http://www.dolibarr.org > To make a donation for Dolibarr project via Paypal: cont...@destailleur.fr > AWStats (Author) : http://awstats.sourceforge.net > To make a donation for AWStats project via Paypal: cont...@destailleur.fr > AWBot (Author) : http://awbot.sourceforge.net > CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net > > > _______________________________________________ > Dolibarr-dev mailing list > Dolibarr-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev Cordialement, -- Régis Houssin --------------------------------------------------------- Cap-Networks Cidex 1130 34, route de Gigny 71240 MARNAY FRANCE VoIP: +33 1 83 62 40 03 GSM: +33 6 33 02 07 97 Web: http://www.cap-networks.com/ Email: regis.hous...@cap-networks.com Dolibarr developer: re...@dolibarr.fr Web Portal: http://www.dolibarr.fr/ SaaS offers: http://www.dolibox.fr/ Shop: http://www.dolistore.com/ Development platform: https://doliforge.org/ ---------------------------------------------------------
_______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev