koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] Suggestion on DB portability


From: Alan Millar
Subject: [Koha-devel] Suggestion on DB portability
Date: Sat Jun 29 10:43:04 2002
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607

The topic of PostgresQL came up on the main Koha list. One of the suggestions was that the database should not be created via a MySQL dump because the index and unique-id commands are different.

I agree. I would suggest that "updatedatabase" should be enhanced, and all database creation/adjustment should be done through it. I already put in some data-driven code for table and column additions into "updatedatabase". This could be fixed up and abstracted a little more, so that attributes such as indexing and unique ID's are generic, and the script can do the appropriate syntax for the relevant DB engine.

Preferably, the add table and column stuff should be combined, not separate like they are at the moment.

What do you think?

- Alan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]