init
This commit is contained in:
111
src/data/schema/ey_product_img.php
Normal file
111
src/data/schema/ey_product_img.php
Normal file
@@ -0,0 +1,111 @@
|
||||
<?php
|
||||
return array (
|
||||
'img_id' =>
|
||||
array (
|
||||
'name' => 'img_id',
|
||||
'type' => 'mediumint(8) unsigned',
|
||||
'notnull' => false,
|
||||
'default' => NULL,
|
||||
'primary' => true,
|
||||
'autoinc' => true,
|
||||
),
|
||||
'aid' =>
|
||||
array (
|
||||
'name' => 'aid',
|
||||
'type' => 'mediumint(8) unsigned',
|
||||
'notnull' => false,
|
||||
'default' => '0',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'title' =>
|
||||
array (
|
||||
'name' => 'title',
|
||||
'type' => 'varchar(200)',
|
||||
'notnull' => false,
|
||||
'default' => '',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'image_url' =>
|
||||
array (
|
||||
'name' => 'image_url',
|
||||
'type' => 'varchar(255)',
|
||||
'notnull' => false,
|
||||
'default' => '',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'intro' =>
|
||||
array (
|
||||
'name' => 'intro',
|
||||
'type' => 'varchar(2000)',
|
||||
'notnull' => false,
|
||||
'default' => '',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'width' =>
|
||||
array (
|
||||
'name' => 'width',
|
||||
'type' => 'int(11)',
|
||||
'notnull' => false,
|
||||
'default' => '0',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'height' =>
|
||||
array (
|
||||
'name' => 'height',
|
||||
'type' => 'int(11)',
|
||||
'notnull' => false,
|
||||
'default' => '0',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'filesize' =>
|
||||
array (
|
||||
'name' => 'filesize',
|
||||
'type' => 'varchar(255)',
|
||||
'notnull' => false,
|
||||
'default' => '',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'mime' =>
|
||||
array (
|
||||
'name' => 'mime',
|
||||
'type' => 'varchar(50)',
|
||||
'notnull' => false,
|
||||
'default' => '',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'sort_order' =>
|
||||
array (
|
||||
'name' => 'sort_order',
|
||||
'type' => 'smallint(5)',
|
||||
'notnull' => false,
|
||||
'default' => '0',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'add_time' =>
|
||||
array (
|
||||
'name' => 'add_time',
|
||||
'type' => 'int(10) unsigned',
|
||||
'notnull' => false,
|
||||
'default' => '0',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'update_time' =>
|
||||
array (
|
||||
'name' => 'update_time',
|
||||
'type' => 'int(11)',
|
||||
'notnull' => false,
|
||||
'default' => '0',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user