db.xml and existing table
Permalink
Hi!
I'm having a very interesting problem.
I've made a simple block that uses a table as described in db.xml:
This schema is successfully parsed when nlSubscribers table doesn't exist. But when if exists parsing fails and this block doesn't get installed (it's a part of package).
The question is: how could this happen and how can I avoid this.
Thank you very much!
I'm having a very interesting problem.
I've made a simple block that uses a table as described in db.xml:
<?xml version="1.0"?> <schema version="0.3"> <table name="nlSubscribers"> <field name="ID" type="I" size="11"> <KEY/> <AUTOINCREMENT/> </field> <field name="subscriber_name" type="C" size="255"></field> <field name="subscriber_address" type="C" size="255"></field> </table> </schema>
This schema is successfully parsed when nlSubscribers table doesn't exist. But when if exists parsing fails and this block doesn't get installed (it's a part of package).
The question is: how could this happen and how can I avoid this.
Thank you very much!