dever 4 rokov pred
rodič
commit
ac26436386
1 zmenil súbory, kde vykonal 13 pridanie a 1 odobranie
  1. 13 1
      app/community/database/info.php

+ 13 - 1
app/community/database/info.php

@@ -107,7 +107,7 @@ return array
 		
 		'type_id' 		=> array
 		(
-			'type' 		=> 'int-11',
+			'type' 		=> 'varchar-11',
 			'name' 		=> '数据源id',
 			'default' 	=> '',
 			'desc' 		=> '数据源id',
@@ -232,6 +232,18 @@ return array
 		),
 	),
 
+	# 索引
+	'index' => array
+	(
+		# 索引名 => 索引id
+		//'id' => 'id,state',
+		1 => array
+		(
+			'index' => 'cate_id,type,type_id,day',
+		),
+		'version' => 1,
+	),
+
 	'manage' => array
 	(
 		//'insert' => false,