summaryrefslogtreecommitdiff
blob: cdea343740b13f22b4138b5cd898d68d42c2bf90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
class sql_task extends sql_row_obj {
	protected $table='tasks', $primary_key='id', $columns=array(
		'id' => array (
			'type' => 'INT',
			'length' => 10,
			'unsigned' => true,
			'not_null' => true,
			'auto_increment' => true
		),
		'build' => array (
			'type' => 'CHAR',
			'length' => 6,
			'not_null' => true,
			'default' => ''
		),
		'command' => array (
			'type' => 'VARCHAR',
			'length' => 255,
			'not_null' => true,
			'default' => ''
		),
		'start' => array (
			'type' => 'INT',
			'length' => 10,
			'unsigned' => true,
			'not_null' => true
		),
		'end' => array (
			'type' => 'INT',
			'length' => 10,
			'unsigned' => true
		),
		'exit' => array (
			'type' => 'TINYINT',
			'length' => 3,
			'unsigned' => true
		)

	);
}
?>