File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ public function verifyEmail(): bool
191191 }
192192
193193 if (!isset ($ this ->data ['email_verified_at ' ])) {
194- $ this ->db ->query (" ALTER TABLE " . Config::get ('db.table ' ) . " ADD COLUMN email_verified_at TIMESTAMP NULL DEFAULT NULL " )->execute ();
194+ $ this ->db ->query (' ALTER TABLE ' . Config::get ('db.table ' ) . ' ADD COLUMN email_verified_at TIMESTAMP NULL DEFAULT NULL ' )->execute ();
195195 }
196196
197197 $ this ->data ['email_verified_at ' ] = tick ()->format (Config::get ('timestamps.format ' ));
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function assign($role): bool
3535 $ roleKey = Config::get ('roles.key ' );
3636
3737 if (!($ this ->data [$ roleKey ] ?? null )) {
38- $ this ->db ->query (" ALTER TABLE " . Config::get ('db.table ' ) . " ADD COLUMN $ roleKey TEXT NOT NULL DEFAULT '[]' " )->execute ();
38+ $ this ->db ->query (' ALTER TABLE ' . Config::get ('db.table ' ) . " ADD COLUMN $ roleKey TEXT NOT NULL DEFAULT '[]' " )->execute ();
3939 }
4040
4141 try {
You can’t perform that action at this time.
0 commit comments