init
This commit is contained in:
84
src/data/schema/ey_media_content.php
Normal file
84
src/data/schema/ey_media_content.php
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
return array (
|
||||
'id' =>
|
||||
array (
|
||||
'name' => 'id',
|
||||
'type' => 'int(10)',
|
||||
'notnull' => false,
|
||||
'default' => NULL,
|
||||
'primary' => true,
|
||||
'autoinc' => true,
|
||||
),
|
||||
'aid' =>
|
||||
array (
|
||||
'name' => 'aid',
|
||||
'type' => 'int(10)',
|
||||
'notnull' => false,
|
||||
'default' => '0',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'content' =>
|
||||
array (
|
||||
'name' => 'content',
|
||||
'type' => 'longtext',
|
||||
'notnull' => false,
|
||||
'default' => NULL,
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'courseware' =>
|
||||
array (
|
||||
'name' => 'courseware',
|
||||
'type' => 'varchar(200)',
|
||||
'notnull' => false,
|
||||
'default' => '',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'courseware_free' =>
|
||||
array (
|
||||
'name' => 'courseware_free',
|
||||
'type' => 'enum(\'免费\',\'收费\')',
|
||||
'notnull' => false,
|
||||
'default' => '免费',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'total_duration' =>
|
||||
array (
|
||||
'name' => 'total_duration',
|
||||
'type' => 'int(10)',
|
||||
'notnull' => false,
|
||||
'default' => '0',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'total_video' =>
|
||||
array (
|
||||
'name' => 'total_video',
|
||||
'type' => 'int(10)',
|
||||
'notnull' => false,
|
||||
'default' => '0',
|
||||
'primary' => false,
|
||||
'autoinc' => false,
|
||||
),
|
||||
'add_time' =>
|
||||
array (
|
||||
'name' => 'add_time',
|
||||
'type' => 'int(11)',
|
||||
'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