From 0afb2c0046b55c123eafb4ab9ee77efa68d12463 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 06 Jun 2026 17:15:31 +0000
Subject: [PATCH] =Starting the Favourites.js setup, converting previous Northeh stuff to new Registrar, fixing up Square.php integration to match
---
inc/managers/FavouritesManager.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/inc/managers/FavouritesManager.php b/inc/managers/FavouritesManager.php
index a2cfb88..0ea911c 100644
--- a/inc/managers/FavouritesManager.php
+++ b/inc/managers/FavouritesManager.php
@@ -29,7 +29,7 @@
}
private function defineFavouriteTable():void
{
- $table = CustomTable::for('favourites');
+ $table = CustomTable::for('favourites', true);
$table->setColumns([
'id' => 'bigint(20) unsigned NOT NULL AUTO_INCREMENT',
@@ -135,7 +135,7 @@
$table->setKeys([
['key' => 'PRIMARY', 'value' => '(`id`)'],
['key' => 'UNIQUE', 'value' => '`unique_share_user` (`list_id`, `user_id`)'],
- ['key'=> 'UNIQUE', 'value' => '`unique_share_email` (`list_id`, `email`'],
+ ['key'=> 'UNIQUE', 'value' => '`unique_share_email` (`list_id`, `email`)'],
'`list_shares` (`list_id`)',
'`list_user` (`list_id`, `user_id`)',
'`status_index` (`status`)'
--
Gitblit v1.10.0