Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Remove groups migration

Blue Mouse623fa83178d9
diff --git a/migrations/mysql/2024_08_08.sql b/migrations/mysql/2024_08_08.sql
deleted file mode 100644
index 277ff4c7d..000000000
--- a/migrations/mysql/2024_08_08.sql
+++ /dev/null
@@ -1,25 +0,0 @@
-CREATE TABLE IF NOT EXISTS monitor_groups (
- groupId INT AUTO_INCREMENT PRIMARY KEY,
- name VARCHAR(255) NOT NULL
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-
-
-CREATE TABLE `monitor` (
- `id` bigint NOT NULL AUTO_INCREMENT,
- `type` varchar(255) NOT NULL,
- `name` varchar(255) NOT NULL,
- `url` varchar(255) NOT NULL,
- `interval` int NOT NULL,
- `retries` int NOT NULL,
- `retryInterval` int NOT NULL,
- `timeout` int NOT NULL,
- `acceptedStatusCodes` json NOT NULL,
- `description` text,
- `createdAt` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
- `updatedAt` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
- `httpOptions` json DEFAULT NULL,
- `groupId` varchar(36) DEFAULT NULL,
- PRIMARY KEY (`id`),
- FOREIGN KEY (`groupId`) REFERENCES `monitor_groups` (`id`) ON DELETE CASCADE
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4
-