kopia lustrzana https://github.com/magicbug/Cloudlog
31 wiersze
1.3 KiB
PHP
31 wiersze
1.3 KiB
PHP
|
<?php
|
||
|
|
||
|
class DXCC_Entities extends CI_Model {
|
||
|
/*
|
||
|
CREATE TABLE IF NOT EXISTS `dxcc_entities` (
|
||
|
`adif` smallint NOT NULL,
|
||
|
`name` varchar(150) DEFAULT NULL,
|
||
|
`prefix` varchar(10) NOT NULL,
|
||
|
`cqz` smallint NOT NULL,
|
||
|
`ituz` smallint NOT NULL,
|
||
|
`cont` varchar(5) NOT NULL,
|
||
|
`long` float NOT NULL,
|
||
|
`lat` float NOT NULL,
|
||
|
`end` date DEFAULT NULL,
|
||
|
PRIMARY KEY (`adif`),
|
||
|
KEY `adif` (`adif`)
|
||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||
|
|
||
|
*/
|
||
|
function __construct(){
|
||
|
parent::__construct();
|
||
|
}
|
||
|
|
||
|
|
||
|
function empty_table($table){
|
||
|
$this->db->empty_table($table);
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|