161 lines
3.1 KiB
PHP
Executable File
161 lines
3.1 KiB
PHP
Executable File
<?php
|
|
|
|
return array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'pages_details',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'pages_details',
|
|
'plural' => 'pages_details',
|
|
),
|
|
'children' => array(
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'uid' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'uid',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'uid',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'template' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'template',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'template',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'model' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'model',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'model',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'query' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'query',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'query',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 1023,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'text',
|
|
),
|
|
),
|
|
'nom' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'nom',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'nom',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'position' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'position',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'position',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'url' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'url',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'url',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'pages_details',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
)
|
|
|
|
?>
|