ey_download_file.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <?php
  2. return array (
  3. 'file_id' =>
  4. array (
  5. 'name' => 'file_id',
  6. 'type' => 'mediumint(8) unsigned',
  7. 'notnull' => false,
  8. 'default' => NULL,
  9. 'primary' => true,
  10. 'autoinc' => true,
  11. ),
  12. 'aid' =>
  13. array (
  14. 'name' => 'aid',
  15. 'type' => 'mediumint(8) unsigned',
  16. 'notnull' => false,
  17. 'default' => '0',
  18. 'primary' => false,
  19. 'autoinc' => false,
  20. ),
  21. 'title' =>
  22. array (
  23. 'name' => 'title',
  24. 'type' => 'varchar(200)',
  25. 'notnull' => false,
  26. 'default' => '',
  27. 'primary' => false,
  28. 'autoinc' => false,
  29. ),
  30. 'file_url' =>
  31. array (
  32. 'name' => 'file_url',
  33. 'type' => 'varchar(255)',
  34. 'notnull' => false,
  35. 'default' => '',
  36. 'primary' => false,
  37. 'autoinc' => false,
  38. ),
  39. 'extract_code' =>
  40. array (
  41. 'name' => 'extract_code',
  42. 'type' => 'varchar(20)',
  43. 'notnull' => false,
  44. 'default' => '',
  45. 'primary' => false,
  46. 'autoinc' => false,
  47. ),
  48. 'file_size' =>
  49. array (
  50. 'name' => 'file_size',
  51. 'type' => 'varchar(255)',
  52. 'notnull' => false,
  53. 'default' => '',
  54. 'primary' => false,
  55. 'autoinc' => false,
  56. ),
  57. 'file_ext' =>
  58. array (
  59. 'name' => 'file_ext',
  60. 'type' => 'varchar(50)',
  61. 'notnull' => false,
  62. 'default' => '',
  63. 'primary' => false,
  64. 'autoinc' => false,
  65. ),
  66. 'file_name' =>
  67. array (
  68. 'name' => 'file_name',
  69. 'type' => 'varchar(200)',
  70. 'notnull' => false,
  71. 'default' => '',
  72. 'primary' => false,
  73. 'autoinc' => false,
  74. ),
  75. 'file_mime' =>
  76. array (
  77. 'name' => 'file_mime',
  78. 'type' => 'varchar(200)',
  79. 'notnull' => false,
  80. 'default' => '',
  81. 'primary' => false,
  82. 'autoinc' => false,
  83. ),
  84. 'uhash' =>
  85. array (
  86. 'name' => 'uhash',
  87. 'type' => 'varchar(200)',
  88. 'notnull' => false,
  89. 'default' => '',
  90. 'primary' => false,
  91. 'autoinc' => false,
  92. ),
  93. 'md5file' =>
  94. array (
  95. 'name' => 'md5file',
  96. 'type' => 'varchar(200)',
  97. 'notnull' => false,
  98. 'default' => '',
  99. 'primary' => false,
  100. 'autoinc' => false,
  101. ),
  102. 'is_remote' =>
  103. array (
  104. 'name' => 'is_remote',
  105. 'type' => 'tinyint(1)',
  106. 'notnull' => false,
  107. 'default' => '0',
  108. 'primary' => false,
  109. 'autoinc' => false,
  110. ),
  111. 'downcount' =>
  112. array (
  113. 'name' => 'downcount',
  114. 'type' => 'int(10)',
  115. 'notnull' => false,
  116. 'default' => '0',
  117. 'primary' => false,
  118. 'autoinc' => false,
  119. ),
  120. 'sort_order' =>
  121. array (
  122. 'name' => 'sort_order',
  123. 'type' => 'smallint(5)',
  124. 'notnull' => false,
  125. 'default' => '0',
  126. 'primary' => false,
  127. 'autoinc' => false,
  128. ),
  129. 'add_time' =>
  130. array (
  131. 'name' => 'add_time',
  132. 'type' => 'int(10) unsigned',
  133. 'notnull' => false,
  134. 'default' => '0',
  135. 'primary' => false,
  136. 'autoinc' => false,
  137. ),
  138. 'update_time' =>
  139. array (
  140. 'name' => 'update_time',
  141. 'type' => 'int(11)',
  142. 'notnull' => false,
  143. 'default' => '0',
  144. 'primary' => false,
  145. 'autoinc' => false,
  146. ),
  147. );