aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-03-05 02:49:32 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-03-05 02:49:32 +0300
commit61ceac1e5643200a75e5fb6287473c6e2316b060 (patch)
tree004261de0fdcbf1550c7fca46f49547dfac953da /README.md
parent82ae43f5de4eed19230b5a36969ee0cbe81d62ba (diff)
drop slots, leave only targets. change config format.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
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