We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3f227 commit d455c2fCopy full SHA for d455c2f
php/class-ee-db.php
@@ -118,6 +118,16 @@ private static function create_required_tables() {
118
FOREIGN KEY (site_url) REFERENCES sites(site_url)
119
);';
120
121
+ $query .= 'CREATE TABLE auth_users (
122
+ id INTEGER,
123
+ site_url VARCHAR NOT NULL,
124
+ username VARCHAR NOT NULL,
125
+ password VARCHAR NOT NULL,
126
+ scope VARCHAR NOT NULL,
127
+ PRIMARY KEY (id),
128
+ CHECK (scope IN (\'admin-tools\', \'site\', \'custom\'))
129
+ );';
130
+
131
try {
132
self::$pdo->exec( $query );
133
} catch ( PDOException $exception ) {
0 commit comments