Added missing config table

This commit is contained in:
Peter Goodhall 2016-01-04 14:54:45 +00:00
parent ea6335fbf5
commit 6b8d1b4c78
2 changed files with 67 additions and 0 deletions

View File

@ -3846,3 +3846,21 @@ CREATE TABLE IF NOT EXISTS `users` (
INSERT INTO `users` (`user_id`, `user_timezone`, `user_name`, `user_password`, `user_email`, `user_type`, `user_callsign`, `user_locator`, `user_firstname`, `user_lastname`) VALUES
(4, '0', 'm0abc', '$2a$08$r9UF3YhipAY6htSQoZRjeOFDx3Yuh7Zjuh45vKyUN4gO8g5l.saES', 'demo@demo.com', '99', 'M0ABC', 'io91js', 'Demo', 'Account');
CREATE TABLE IF NOT EXISTS `config` (
`id` int(9) NOT NULL AUTO_INCREMENT,
`lotw_download_url` varchar(255) DEFAULT NULL,
`lotw_upload_url` varchar(255) DEFAULT NULL,
`lotw_rcvd_mark` varchar(1) DEFAULT NULL,
`lotw_login_url` varchar(244) DEFAULT NULL,
`eqsl_download_url` varchar(244) DEFAULT NULL,
`eqsl_rcvd_mark` varchar(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `config`
--
INSERT INTO `config` (`id`, `lotw_download_url`, `lotw_upload_url`, `lotw_rcvd_mark`, `lotw_login_url`, `eqsl_download_url`, `eqsl_rcvd_mark`) VALUES
(1, 'https://p1k.arrl.org/lotwuser/lotwreport.adi', 'https://p1k.arrl.org/lotwuser/upload', 'Y', 'https://p1k.arrl.org/lotwuser/default', 'http://www.eqsl.cc/qslcard/DownloadInBox.cfm', 'Y');

49
sql/tables/config.sql Normal file
View File

@ -0,0 +1,49 @@
-- phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jan 04, 2016 at 03:52 PM
-- Server version: 5.6.17
-- PHP Version: 5.5.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `cloudlog`
--
-- --------------------------------------------------------
--
-- Table structure for table `config`
--
CREATE TABLE IF NOT EXISTS `config` (
`id` int(9) NOT NULL AUTO_INCREMENT,
`lotw_download_url` varchar(255) DEFAULT NULL,
`lotw_upload_url` varchar(255) DEFAULT NULL,
`lotw_rcvd_mark` varchar(1) DEFAULT NULL,
`lotw_login_url` varchar(244) DEFAULT NULL,
`eqsl_download_url` varchar(244) DEFAULT NULL,
`eqsl_rcvd_mark` varchar(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `config`
--
INSERT INTO `config` (`id`, `lotw_download_url`, `lotw_upload_url`, `lotw_rcvd_mark`, `lotw_login_url`, `eqsl_download_url`, `eqsl_rcvd_mark`) VALUES
(1, 'https://p1k.arrl.org/lotwuser/lotwreport.adi', 'https://p1k.arrl.org/lotwuser/upload', 'Y', 'https://p1k.arrl.org/lotwuser/default', 'http://www.eqsl.cc/qslcard/DownloadInBox.cfm', 'Y');
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;