summaryrefslogtreecommitdiff
blob: 3eecdeb896815a4a791889ee2486c57707630aa2 (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
<?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,
		),
		'command' => array (
			'type' => 'VARCHAR',
			'length' => 255,
			'not null' => true,
		),
		'exit' => array (
			'type' => 'TINYINT',
			'length' => 3,
			'unsigned' => true,
		)

	);
}
?>