Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
$this->E_D("DROP TABLE IF EXISTS `db_ad`;");
|
||||
$this->E_C("CREATE TABLE `db_ad` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`adid` int(11) NOT NULL,
|
||||
`pubid` bigint(15) NOT NULL,
|
||||
`status` tinyint(4) NOT NULL,
|
||||
`name` varchar(50) NOT NULL,
|
||||
`intro` varchar(255) DEFAULT NULL,
|
||||
`type` varchar(50) DEFAULT NULL,
|
||||
`thumb` varchar(255) DEFAULT NULL,
|
||||
`link` varchar(255) DEFAULT NULL,
|
||||
`sort` int(11) NOT NULL DEFAULT '0',
|
||||
`adcode` text,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8");
|
||||
$this->E_D("replace into `db_ad` values('4','7','1529997956','0','公司厂房盛大开幕','tte2','','/d/image/20180626/5b31b892aeb50.jpg','http://doc.oschina.net/jijin','0','');");
|
||||
$this->E_D("replace into `db_ad` values('5','7','1529996119','1','第二张','','','/d/image/20180626/5b31b892c6638.jpg','','0','');");
|
||||
$this->E_D("replace into `db_ad` values('6','7','1558008330','1','test2','test4','','','','0','');");
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user