4 Oct
2006
4 Oct
'06
9:54 a.m.
On Oct 4, 2006, at 12:43 AM, Karoly Negyesi wrote:
To achieve this, use DROP IF EXSITS for indexes (both databases), in the unlikely case you are adding a field, check for its existence first through SELECT * FROM, db_fetch_array, isset. ALTERs need no special taking care of.
in the unlikely case you are adding a whole new table, can check if the table exists in 5.x and beyond using db_table_exists('foo'). enjoy, -dww