Welcome Guest, Not a member yet? Register   Sign In
question in the dbforge class
#3

[eluser]KingSkippus[/eluser]
Looking at the documentation, I do not think there is a way to create a unique index on a column using dbforge. You can just run a query like the one below to create one, though:

Code:
CREATE UNIQUE INDEX IDX_test ON table_name (test);


Messages In This Thread
question in the dbforge class - by El Forum - 07-20-2010, 04:55 AM
question in the dbforge class - by El Forum - 07-21-2010, 05:18 AM
question in the dbforge class - by El Forum - 07-21-2010, 07:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB