Skip to content

Commit 30b628b

Browse files
committed
Remove duplicated check
1 parent 9588831 commit 30b628b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/Definition/CreateTable.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ protected function renderOrReplace() : ?string
4040
if ( ! isset($this->sql['or_replace'])) {
4141
return null;
4242
}
43-
if (isset($this->sql['if_not_exists'])) {
44-
throw new LogicException(
45-
'Clauses OR REPLACE and IF NOT EXISTS can not be used together'
46-
);
47-
}
4843
return ' OR REPLACE';
4944
}
5045

0 commit comments

Comments
 (0)