HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/groundscrewcentre/2023-10-23 Calc Code for Steve/Cleaned/calculator_spec.sql
-- --------------------------------------------------------
-- Host:                         127.0.0.1
-- Server version:               10.6.8-MariaDB-log - mariadb.org binary distribution
-- Server OS:                    Win64
-- HeidiSQL Version:             12.1.0.6537
-- --------------------------------------------------------

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

-- Dumping structure for table groundscrewcen.calculator_spec
CREATE TABLE IF NOT EXISTS `calculator_spec` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `StructureType` varchar(20) DEFAULT NULL,
  `Enabled` tinyint(1) DEFAULT 1,
  `SortOrder` smallint(6) DEFAULT NULL,
  `AllowSIP` tinyint(1) NOT NULL DEFAULT 0,
  `IncludeDeckingArea` tinyint(1) NOT NULL DEFAULT 1,
  `ScrewLength550` tinyint(1) NOT NULL DEFAULT 0,
  `ScrewLength750` tinyint(1) NOT NULL DEFAULT 1,
  `JoistSize3x2` tinyint(1) NOT NULL DEFAULT 0,
  `JoistSize4x2or6x2` tinyint(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`ID`) USING BTREE,
  UNIQUE KEY `StructureType` (`StructureType`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;

-- Dumping data for table groundscrewcen.calculator_spec: 8 rows
/*!40000 ALTER TABLE `calculator_spec` DISABLE KEYS */;
INSERT INTO `calculator_spec` (`ID`, `StructureType`, `Enabled`, `SortOrder`, `AllowSIP`, `IncludeDeckingArea`, `ScrewLength550`, `ScrewLength750`, `JoistSize3x2`, `JoistSize4x2or6x2`) VALUES
	(1, 'Garden Office', 1, 10, 1, 1, 0, 1, 0, 1),
	(2, 'Garden Studio', 1, 20, 1, 1, 0, 1, 0, 1),
	(3, 'Garden Gym', 1, 30, 0, 1, 0, 1, 0, 1),
	(4, 'Garden Summerhouse', 1, 40, 0, 1, 1, 1, 0, 1),
	(5, 'Log Cabin', 1, 50, 1, 1, 0, 1, 0, 1),
	(6, 'Workshop', 1, 60, 0, 0, 0, 1, 0, 1),
	(7, 'Shed', 1, 70, 0, 0, 1, 1, 1, 1),
	(8, 'Decking', 1, 80, 0, 0, 1, 1, 1, 1);
/*!40000 ALTER TABLE `calculator_spec` ENABLE KEYS */;

/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;