84 lines
1.6 KiB
PHP
84 lines
1.6 KiB
PHP
<?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,
|
|
),
|
|
); |