116 lines
2.2 KiB
PHP
Executable File
116 lines
2.2 KiB
PHP
Executable File
<?php
|
|
|
|
return array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'pages_medias',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'pages_medias',
|
|
'plural' => 'pages_medias',
|
|
),
|
|
'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',
|
|
),
|
|
),
|
|
'table' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'table',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'table',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'tableId' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'tableId',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'tableId',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'extensions' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'extensions',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'extensions',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 2047,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'text',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'pages_medias',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
'table' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'pages_medias',
|
|
'name' => 'table',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'table',
|
|
'table' => array(
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
2 => 'tableId',
|
|
'tableId' => array(
|
|
'name' => 'tableId',
|
|
'position' => 2,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
)
|
|
|
|
?>
|