summaryrefslogtreecommitdiff
blob: 178d0bbdece6c86d1a5fe7d0131a0b4bad28c4bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
class sql_configopt extends sql_row_obj {
	protected $table='configopts', $primary_key=array('configuration', 'name'), $columns=array(
		'configuration' => array (
			'type' => 'CHAR',
			'length' => 6,
			'not_null' => true,
			'refers_to' => 'configurations.id'
		),
		'name' => array (
			'type' => 'VARCHAR',
			'length' => 255,
			'not_null' => true,
			'default' => ''
		),
		'value' => array (
			'type' => 'TEXT'
		)

	);
}
?>