Add DB queue driver

This commit is contained in:
Kijin Sung 2024-10-09 23:12:55 +09:00
parent 78bbc2ffa5
commit 09fa4778c0
3 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1,8 @@
<table name="task_queue">
<column name="id" type="bigint" notnull="notnull" primary_key="primary_key" auto_increment="auto_increment" />
<column name="handler" type="varchar" size="191" notnull="notnull" />
<column name="args" type="longtext" notnull="notnull" />
<column name="options" type="longtext" notnull="notnull" />
<column name="lock" type="int" notnull="notnull" default="0" index="idx_lock" />
<column name="regdate" type="datetime" notnull="notnull" default="current_timestamp()" index="idx_regdate" />
</table>