From a91e7a76c69e1f4fed7516da4508bbeeb0068358 Mon Sep 17 00:00:00 2001 From: brandonkelly Date: Sat, 10 Aug 2024 08:55:46 -0700 Subject: [PATCH] Fixed errors on Postgres --- src/migrations/Install.php | 4 ++-- src/migrations/m191114_182559_addNotFoundTable.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/migrations/Install.php b/src/migrations/Install.php index 810b200..0f94b6a 100644 --- a/src/migrations/Install.php +++ b/src/migrations/Install.php @@ -69,7 +69,7 @@ protected function createTables() 'id' => $this->primaryKey(), 'siteId' => $this->integer(11)->notNull(), 'defaultMeta' => $this->text(), - 'enableRobots' => $this->boolean()->defaultValue(1), + 'enableRobots' => $this->boolean()->defaultValue(true), 'robots' => $this->text(), 'schema' => $this->text(), 'sitemap' => $this->text(), @@ -106,7 +106,7 @@ protected function createTables() 'urlPath' => $this->text(), 'urlParams' => $this->text(), 'referrer' => $this->text(), - 'handled' => $this->boolean()->defaultValue(0), + 'handled' => $this->boolean()->defaultValue(false), 'counter' => $this->bigInteger(), 'redirect' => $this->integer(11), 'dateLastHit' => $this->dateTime()->notNull(), diff --git a/src/migrations/m191114_182559_addNotFoundTable.php b/src/migrations/m191114_182559_addNotFoundTable.php index 793045d..a533889 100644 --- a/src/migrations/m191114_182559_addNotFoundTable.php +++ b/src/migrations/m191114_182559_addNotFoundTable.php @@ -29,7 +29,7 @@ public function safeUp() 'urlPath' => $this->text(), 'urlParams' => $this->text(), 'referrer' => $this->text(), - 'handled' => $this->boolean()->defaultValue(0), + 'handled' => $this->boolean()->defaultValue(false), 'counter' => $this->bigInteger(), 'redirect' => $this->integer(11), 'dateLastHit' => $this->dateTime()->notNull(),