diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-05 02:49:32 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-05 02:49:32 +0300 |
commit | 61ceac1e5643200a75e5fb6287473c6e2316b060 (patch) | |
tree | 004261de0fdcbf1550c7fca46f49547dfac953da /README.md | |
parent | 82ae43f5de4eed19230b5a36969ee0cbe81d62ba (diff) |
drop slots, leave only targets. change config format.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |