summaryrefslogtreecommitdiff
blob: 9b8a0a2232697ad67b96370c589f5f44b935e924 (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
<?php
class sql_session extends sql_row_obj {
	protected $table='sessions', $primary_key='id', $columns=array(
		'id' => array (
			'type' => 'VARCHAR',
			'length' => 30,
			'not_null' => true
		),
		'user' => array (
			'type' => 'INT',
			'length' => 10,
			'unsigned' => true,
			'not_null' => true
		),
		'atime' => array (
			'type' => 'INT',
			'length' => 10,
			'unsigned' => true,
			'not_null' => true
		),
		'expire' => array (
			'type' => 'INT',
			'length' => 10,
			'unsigned' => true,
			'not_null' => true
		)

	);
}
?>