From 61ceac1e5643200a75e5fb6287473c6e2316b060 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Fri, 5 Mar 2021 02:49:32 +0300 Subject: drop slots, leave only targets. change config format. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3438c1a..f26ac4e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,6 @@ In a real world, you would to add need additional fields such as `job_name` or CREATE TABLE `jobs` ( `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, `target` char(16) NOT NULL, - `slot` char(16) DEFAULT NULL, `time_created` int(10) UNSIGNED NOT NULL, `time_started` int(10) UNSIGNED NOT NULL DEFAULT 0, `time_finished` int(10) UNSIGNED NOT NULL DEFAULT 0, @@ -40,7 +39,8 @@ CREATE TABLE `jobs` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ``` -For optimization purposes, you can turn fields `target` and `slot` into `ENUM`s. +For optimization purposes, you can turn `target` into `ENUM`. Also if 16 characters +for target is not enough for you, change it to fit your needs. ## Clients -- cgit v1.2.3