From 6b8d1b4c782c3cc378abfd7fcf284f33d182b8fc Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Mon, 4 Jan 2016 14:54:45 +0000 Subject: [PATCH] Added missing config table --- install/assets/install.sql | 18 ++++++++++++++ sql/tables/config.sql | 49 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 sql/tables/config.sql diff --git a/install/assets/install.sql b/install/assets/install.sql index 05e20a08..cd70790b 100755 --- a/install/assets/install.sql +++ b/install/assets/install.sql @@ -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'); diff --git a/sql/tables/config.sql b/sql/tables/config.sql new file mode 100644 index 00000000..db6e105f --- /dev/null +++ b/sql/tables/config.sql @@ -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 */;