Cloudlog/application/models/Dxcc_entities.php
Warren Volz e384826aea Codeignitor 3.1.6 and corresponding changes
- fixes missing () from num_rows in authenticate user function
- removes passwordhash library in favor of built in PHP password_hash
  and password_verify functions
- uppercase all class filenames
- add new CLI error templates, move HTML error templates
- update mimes file to latest version
- update routes to latest version
2017-12-01 19:25:26 +00:00

31 lines
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);
}
}