umm, I remember this was my first commit. you have to add the index after you've created the table.
something like this:
$this->addIndex('ipaliases','col_name_1, col_name_2 UNIQUE','optional_index_name');
the columns to be indexed is a simple comma-seperated list. the third argument is optional.
hope it works.
"mac_address C(12) NOTNULL DEFAULT '000000000000' UNIQUE,"
instead of C(12) better use string(12), because it may be that we get rid of the adodb-layer.
you can use:
integer or int, float,
datetime, date, timestamp, time,
text, string,
binary,
boolean
I have implemented decimal/numeric but not commited to svn until now.
1 to 6 of 6