mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-24 01:20:40 +01:00
[ticket/15047] Don't attempt to drop primary keys
This commit is contained in:
parent
66b0fe3b5d
commit
b52ee87df8
@ -713,6 +713,7 @@ class mssql extends tools
|
||||
AND cols.object_id = ix.object_id
|
||||
WHERE ix.object_id = object_id('{$table_name}')
|
||||
AND cols.name = '{$column_name}'
|
||||
AND ix.is_primary_key = 0
|
||||
AND ix.is_unique = " . ($unique ? '1' : '0');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user