From 15572d4deafcfc6ce05b55427cd54c4ab3a78f97 Mon Sep 17 00:00:00 2001
From: Derek Allard
Fields are created via an associative array. Within the array you must include a 'type' key that relates to the datatype of the field. For example, INT, VARCHAR, TEXT, etc. Many datatypes (for example VARCHAR) also require a 'constraint' key.
$fields = array(
'users' => array(
- 'type' => 'varchar',
+ 'type' => VARCHAR,
'constraint' => '100',
),
);
--
cgit v1.2.3-24-g4f1b