cyrilleinvalides/choupas/www/admin/app/providers/invalides/Model.medias.php

159 lines
3.0 KiB
PHP
Executable File

<?php
return array(
'type' => 'MySQLTable',
'name' => 'medias',
'extends' => '_MySQLTable',
'desc' => array(
'gender' => null,
'singular' => 'medias',
'plural' => '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(
'minlength' => 0,
'maxlength' => 31,
'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',
),
),
'actif' => array(
'type' => 'MySQLField',
'name' => 'actif',
'desc' => array(
'gender' => null,
'singular' => 'actif',
'plural' => '',
),
'value' => array(
'default' => null,
'null' => false,
'type' => 'boolean',
),
),
'image' => array(
'type' => 'MySQLField',
'name' => 'image',
'desc' => array(
'gender' => null,
'singular' => 'image',
'plural' => '',
),
'value' => array(
'minlength' => 0,
'maxlength' => 255,
'default' => null,
'null' => false,
'type' => 'image',
),
),
'imageAlt' => array(
'type' => 'MySQLField',
'name' => 'imageAlt',
'desc' => array(
'gender' => null,
'singular' => 'imageAlt',
'plural' => '',
),
'value' => array(
'minlength' => 0,
'maxlength' => 255,
'default' => null,
'null' => false,
'type' => 'string',
),
),
'imageTitle' => array(
'type' => 'MySQLField',
'name' => 'imageTitle',
'desc' => array(
'gender' => null,
'singular' => 'imageTitle',
'plural' => '',
),
'value' => array(
'minlength' => 0,
'maxlength' => 255,
'default' => null,
'null' => false,
'type' => 'string',
),
),
),
'Index' => array(
'PRIMARY' => array(
'type' => 'MySQLIndex',
'model' => 'medias',
'name' => 'PRIMARY',
'unique' => true,
'fields' => array(
1 => 'id',
'id' => array(
'position' => 1,
'op' => '=',
),
),
),
),
),
)
?>