mirror of
https://github.com/lilydjwg/archrepo2.git
synced 2025-03-10 12:02:43 +00:00
using blob for picked data
This commit is contained in:
parent
e63c3a7f69
commit
359ec109dd
2 changed files with 2 additions and 2 deletions
|
@ -206,7 +206,7 @@ class EventHandler(pyinotify.ProcessEvent):
|
|||
owner text,
|
||||
mtime int,
|
||||
state int,
|
||||
info text)''')
|
||||
info blob)''')
|
||||
|
||||
dirs = [os.path.join(base, x) for x in ('any', 'i686', 'x86_64')]
|
||||
self.files = files = set()
|
||||
|
|
|
@ -27,7 +27,7 @@ def main(conffile):
|
|||
assert getver(db) == '0.1', 'wrong database version'
|
||||
input('Please stop the service and then press Enter.')
|
||||
try:
|
||||
db.execute('alter table pkginfo add info text')
|
||||
db.execute('alter table pkginfo add info blob')
|
||||
except sqlite3.OperationalError:
|
||||
# the column is already there
|
||||
pass
|
||||
|
|
Loading…
Add table
Reference in a new issue