From cf5df0cb9af3a1e0c32feb38460fede1b199f5f8 Mon Sep 17 00:00:00 2001 From: Daniel Brendel Date: Fri, 30 Aug 2024 17:50:20 +0200 Subject: [PATCH] Fix statement --- app/migrations/ShareLogModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/migrations/ShareLogModel.php b/app/migrations/ShareLogModel.php index e62c322..e558f96 100644 --- a/app/migrations/ShareLogModel.php +++ b/app/migrations/ShareLogModel.php @@ -28,7 +28,7 @@ public function up() $this->database = new Asatru\Database\Migration('sharelog', $this->connection); $this->database->drop(); $this->database->add('id INT NOT NULL AUTO_INCREMENT PRIMARY KEY'); - $this->database->add('userId INT NO NULL'); + $this->database->add('userId INT NOT NULL'); $this->database->add('ident VARCHAR(512) NOT NULL'); $this->database->add('url VARCHAR(512) NOT NULL'); $this->database->add('asset VARCHAR(512) NOT NULL');