Re: PEAR and schmeas
"Piotras" <pp-VVDi8QVAvoBWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.web.midgard.devel |
|---|---|
| Message-ID | <[email protected]> |
> Hi! > > On Sat, January 28, 2006 6:21 pm, Tarjei Huse wrote: >> Hi, does pear handle schemas? > > Yes. There is a custom file role "mgdschema" (supplied by the > Role_Mgdschema package). > > Currently only thing done about the schemas is that they're placed in the > Midgard schema directory (by default /usr/share/midgard/schema, but > configurable by changing the mgdschema_dir PEAR setting). It's managed by dg already. > Piotras just wrote me: >> I commited "a fix" and now you do not have to define schema in vhost >> configuration file. >> All types defined in any file in schema dir are globally available. > > So this should sort the schemas quite fine. However, SQL table creation is > not currently handled by PEAR packages. I think it will be better to have > the "midgard-schema" tool create the tables as needed. I will try to make dg support this week. Just finished utf conversion. Piotras