[BUGFIX] Tests: Incomplete mock in ext:scheduler
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / ext_tables.sql
1 #
2 # Table structure for table 'tx_scheduler_task'
3 #
4 CREATE TABLE tx_scheduler_task (
5 uid int(11) unsigned NOT NULL auto_increment,
6 crdate int(11) unsigned DEFAULT '0' NOT NULL,
7 disable tinyint(4) unsigned DEFAULT '0' NOT NULL,
8 description text NOT NULL,
9 nextexecution int(11) unsigned DEFAULT '0' NOT NULL,
10 lastexecution_time int(11) unsigned DEFAULT '0' NOT NULL,
11 lastexecution_failure text NOT NULL,
12 lastexecution_context char(3) DEFAULT '' NOT NULL,
13 serialized_task_object blob,
14 serialized_executions blob,
15 task_group int(11) unsigned DEFAULT '0' NOT NULL,
16 PRIMARY KEY (uid),
17 KEY index_nextexecution (nextexecution)
18 );
19
20 #
21 # Table structure for table 'tx_scheduler_task_group'
22 #
23 CREATE TABLE tx_scheduler_task_group (
24 uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
25 pid int(11) unsigned DEFAULT '0' NOT NULL,
26 tstamp int(11) unsigned DEFAULT '0' NOT NULL,
27 crdate int(11) unsigned DEFAULT '0' NOT NULL,
28 cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
29 deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
30 sorting int(11) unsigned DEFAULT '0' NOT NULL,
31 hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
32 groupName varchar(80) DEFAULT '' NOT NULL,
33 description text NOT NULL,
34
35 PRIMARY KEY (uid),
36 KEY parent (pid)
37 );