db.xml and varbinary
Permalink
Hi
I have a table in my database, where I store AES-Encrypted passwords. The password table is created by the packages db.xml. This works great. But it makes a varchar field.
How can I create a field with the varbinary field type by installing the package?
db.xml snippet:
Thanks and kind regards,
Steff
I have a table in my database, where I store AES-Encrypted passwords. The password table is created by the packages db.xml. This works great. But it makes a varchar field.
How can I create a field with the varbinary field type by installing the package?
db.xml snippet:
<table name="btSteffPasswords"> <field name="passID" type="I"> <key /> <autoincrement /> </field> <field name="passUser" type="C" size="255"></field> <field name="passWord" type="C" size="255"></field> </table>
Thanks and kind regards,
Steff
Thank you Lucas
But this is the same information I also get here:
http://phplens.com/lens/adodb/docs-datadict.htm...
But I just figured out, it also works with a Blob instead of a varbinary.
But this is the same information I also get here:
http://phplens.com/lens/adodb/docs-datadict.htm...
But I just figured out, it also works with a Blob instead of a varbinary.
http://www.concrete5.org/documentation/how-tos/developers/creating-...