Re: [Postfixadmin-devel] Adding arbitrary field to mailbox table
Brought to you by:
christian_boltz,
gingerdog
From: Christian B. <pos...@cb...> - 2011-04-07 22:32:13
|
Hello, Am Mittwoch, 6. April 2011 schrieb Luigi Rosa: > I wish to add a couple of fields to mailbox table for administrative > purposes. > > Is there a correct way to select the names of the fields in order not > to break the database structure update process? We don't have a policy on this - at least until now. I guess we should define one... Just as idea: (I'm open to feedback and/or better ideas ;-) - you can use any fieldname starting with "x_" - you can create indexes if needed (also prefix them with x_ (or tablename_x_ for PostgreSQL) - avoid creating unique indexes and foreign keys if possible (they could make scheme changes difficult) Would that be OK for you? @David: what do you think? Regards, Christian Boltz -- > The issue here is the one of disk space... How do you know before hand > there is enough disk space in /boot and /lib? Err, ask Mr. Filesystem and, given your hd has turned ROM because it's full, fail gracefully? [> Marcus Meissner and Wolfgang Woehl in opensuse-factory] |