lib/Doctrine/DBAL/Platforms/SQLAnywhere12Platform.php 1 location
|
@@ 112-114 (lines=3) @@
|
109 |
|
*/ |
110 |
|
protected function getAdvancedIndexOptionsSQL(Index $index) |
111 |
|
{ |
112 |
|
if ( ! $index->isPrimary() && $index->isUnique() && $index->hasFlag('with_nulls_not_distinct')) { |
113 |
|
return ' WITH NULLS NOT DISTINCT' . parent::getAdvancedIndexOptionsSQL($index); |
114 |
|
} |
115 |
|
|
116 |
|
return parent::getAdvancedIndexOptionsSQL($index); |
117 |
|
} |
lib/Doctrine/DBAL/Platforms/SQLAnywhere16Platform.php 1 location
|
@@ 46-48 (lines=3) @@
|
43 |
|
); |
44 |
|
} |
45 |
|
|
46 |
|
if ( ! $index->isPrimary() && $index->isUnique() && $index->hasFlag('with_nulls_distinct')) { |
47 |
|
return ' WITH NULLS DISTINCT' . parent::getAdvancedIndexOptionsSQL($index); |
48 |
|
} |
49 |
|
|
50 |
|
return parent::getAdvancedIndexOptionsSQL($index); |
51 |
|
} |