Add snippet Execute,Better Task Results , fix some bugs

This commit is contained in:
sepehr 2024-07-28 18:56:56 +03:30
parent 733307de8d
commit 463161c291
7 changed files with 188 additions and 31 deletions

View file

@ -1,12 +1,12 @@
# 027_permissions.py
# 017_permissions.py
def migrate(migrator, database, fake=False, **kwargs):
migrator.sql("""CREATE TABLE task_results(
id serial PRIMARY KEY NOT NULL,
task_type text,
result text,
info text,
external_id int,
created timestamp not null default CURRENT_TIMESTAMP
)""")