19 lines
819 B
PHP
19 lines
819 B
PHP
<?php
|
|
$this->E_D("DROP TABLE IF EXISTS `db_link`;");
|
|
$this->E_C("CREATE TABLE `db_link` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`catid` int(11) NOT NULL,
|
|
`status` tinyint(3) NOT NULL,
|
|
`pubid` bigint(15) NOT NULL,
|
|
`name` varchar(50) NOT NULL,
|
|
`thumb` varchar(255) DEFAULT NULL,
|
|
`link` varchar(255) DEFAULT NULL,
|
|
`sort` int(11) DEFAULT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8");
|
|
$this->E_D("replace into `db_link` values('1','7','0','1529997869','首页banner图','','','0');");
|
|
$this->E_D("replace into `db_link` values('3','7','1','0','fd','/d/image/20180626/5b31e71957cb0.jpg','123','0');");
|
|
$this->E_D("replace into `db_link` values('4','11','1','0','4343443','','','0');");
|
|
$this->E_D("replace into `db_link` values('5','7','1','0','test','','','0');");
|
|
|
|
?>
|