This file is the configuration that is taken from the Config method in the framework and can be generated from the database using automated tools.
Return Array (
' id ' = = Array (
' Name ' = ' id ',
' Scale ' = ',
' Type ' = ' int ',
' MaxLength ' = ' 11 ',
' SimpleType ' = ' R ',
' Notnull ' = ' 1 ',
' PrimaryKey ' = ' 1 ',
' AutoIncrement ' = ' 1 ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ',
),
' Adm_name ' = Array (
' Name ' = ' Adm_name ',
' Scale ' = ',
' type ' = ' varchar ',
' MaxLength ' = ' 25 ',
' SimpleType ' = ' C ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' admin name ',
),
' Adm_pwd ' = Array (
' Name ' = ' adm_pwd ',
' Scale ' = ',
' type ' = ' varchar ',
' MaxLength ' = ' 64 ',
' SimpleType ' = ' C ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' password ',
),
' Status ' = = Array (
' Name ' = ' status ',
' Scale ' = ',
' Type ' = ' tinyint ',
' MaxLength ' = ' 1 ',
' SimpleType ' = ' L ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ' 1 ',
' DefaultValue ' = ' 1 ',
' Description ' = ' 0: Disable 1: Enable ',
),
' sort ' = = Array (
' Name ' = ' sort ',
' Scale ' = ',
' Type ' = ' int ',
' MaxLength ' = ' 11 ',
' SimpleType ' = ' I ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' sort ',
),
' Endtime ' = Array (
' Name ' = ' Endtime ',
' Scale ' = ',
' type ' = ' varchar ',
' MaxLength ' = ' 30 ',
' SimpleType ' = ' C ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' Last landing time ',
),
' EndIP ' = Array (
' Name ' = ' EndIP ',
' Scale ' = ',
' type ' = ' varchar ',
' MaxLength ' = ' 20 ',
' SimpleType ' = ' C ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' Last login IP ',
),
' count ' = = Array (
' Name ' = ' count ',
' Scale ' = ',
' Type ' = ' int ',
' MaxLength ' = ' 11 ',
' SimpleType ' = ' I ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' Login count ',
),
' Createtime ' = Array (
' Name ' = ' Createtime ',
' Scale ' = ',
' type ' = ' varchar ',
' MaxLength ' = ' 30 ',
' SimpleType ' = ' C ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' Created time ',
),
);
Above is the icephp framework of the General CRUD function Framework (four) table configuration file content, more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!