Skip to content

Commit 4c847a5

Browse files
committed
Remove check SQL constraint
Signed-off-by: Kirtan Gajjar <[email protected]>
1 parent 5ccc287 commit 4c847a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

php/class-ee-db.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ private static function create_required_tables() {
124124
username VARCHAR NOT NULL,
125125
password VARCHAR NOT NULL,
126126
scope VARCHAR NOT NULL,
127-
PRIMARY KEY (id),
128-
CHECK (scope IN (\'admin-tools\', \'site\', \'custom\'))
127+
PRIMARY KEY (id)
129128
);';
130129

131130
try {

0 commit comments

Comments
 (0)