diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-10 16:51:34 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-10 16:51:34 +0100 |
| commit | d3b6bcaf493f19971d1a3401a0720daac82c9410 (patch) | |
| tree | 13b1c6cce219d8ae609bf7a10dcef5fb55b44f76 | |
| parent | 4820673df0a122cf81c3657aa427045ad9de4818 (diff) | |
| download | joblib-d3b6bcaf493f19971d1a3401a0720daac82c9410.tar.gz joblib-d3b6bcaf493f19971d1a3401a0720daac82c9410.zip | |
create index on id
| -rw-r--r-- | joblib.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ class JobQueue(object): await con.execute(""" CREATE TABLE IF NOT EXISTS jobs ( - id SERIAL, + id SERIAL PRIMARY KEY, priority INT DEFAULT 0, status TEXT DEFAULT 'open', type TEXT, |
