balbes
  •  balbes
  • 94% (Exalted)
  • YAF Lover Topic Starter
2009-12-28T04:00:59Z
Quote:


FILE:
mssql/constraints.sql

ERROR:
The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'dbo.yaf_Thanks' and the index name 'IX_yaf_Thanks'. The duplicate key value is ( 297, 98 ).
Could not create constraint. See previous errors.
The statement has been terminated.

STATEMENT:
if not exists(select * from dbo.sysindexes where id=object_id('[dbo].[yaf_Thanks]') and name='IX_yaf_Thanks')
alter table [dbo].[yaf_Thanks] add constraint IX_yaf_Thanks unique nonclustered([ThanksFromUserID],[ThanksToUserID])


mir scheissegal
Sponsor
bbobb
  •  bbobb
  • 100% (Exalted)
  • YAF Developer
2009-12-28T04:23:20Z
I'll fix it it's my fault:wink: .
Update:
Should be fixed in svn r3037

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved