/*M!999999\- enable the sandbox mode */ 
-- MariaDB dump 10.19  Distrib 10.11.14-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: canasta
-- ------------------------------------------------------
-- Server version	10.11.14-MariaDB-0ubuntu0.24.04.1

/*!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 utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!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 */;

--
-- Current Database: `canasta`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `canasta` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci */;

USE `canasta`;

--
-- Table structure for table `admin`
--

DROP TABLE IF EXISTS `admin`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `admin` (
  `id` int(20) NOT NULL AUTO_INCREMENT,
  `senaste` date NOT NULL,
  `footer` longtext NOT NULL,
  `version` text NOT NULL,
  `match` int(25) NOT NULL,
  `priser` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admin`
--

LOCK TABLES `admin` WRITE;
/*!40000 ALTER TABLE `admin` DISABLE KEYS */;
INSERT INTO `admin` VALUES
(1,'2026-08-08','Design och programering av Hans Engfeldt Copyright © 2026','V.2.5',6,1);
/*!40000 ALTER TABLE `admin` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `spelare`
--

DROP TABLE IF EXISTS `spelare`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `spelare` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `spelid` text NOT NULL,
  `namn` text NOT NULL,
  `aktiv` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `spelare`
--

LOCK TABLES `spelare` WRITE;
/*!40000 ALTER TABLE `spelare` DISABLE KEYS */;
INSERT INTO `spelare` VALUES
(13,'420036','ANNETTE PERSSON','Ja'),
(14,'357990','CHRISTER PERSSON','Ja'),
(19,'539085','GÖRAN BLOMQVIST','Ja'),
(21,'750157','JAN CRONQVIST','Ja'),
(22,'607249','BRITA DRAYCOTT FERNLID','Ja'),
(23,'149680','ANDERS FERNLID','Ja'),
(24,'355542','KATE GLANTZ','Ja'),
(26,'516456','EVA GUSTAVSSON','Ja'),
(28,'350363','CAMILLA JOHANSSON','Ja'),
(29,'444458','FREDRIK JOHANSSON','Ja'),
(30,'815872','AGNETA JÖNSSON','Ja'),
(32,'859306','KARIN LYDOW','Ja'),
(33,'668321','PETER LYDOW','Ja'),
(39,'702705','SIV SIMONSSON','Ja'),
(41,'567560','FREDRIKA VESTMAN','Ja'),
(44,'646625','HANS ENGFELDT','Ja'),
(45,'507522','PAUL ALM','Ja'),
(46,'321660','LINDA ALM','Ja'),
(47,'559264','MARGOT ALM','Ja'),
(48,'374932','TIMMY','Ja'),
(49,'524629','IRENE','Ja'),
(50,'651546','MAYLIS','Ja'),
(51,'250076','SUSANNE LUNDBLAD','Ja'),
(52,'997828','MONICA FLINCK','Ja'),
(53,'896229','PERNILLA','Ja'),
(54,'311005','JAN','Ja'),
(55,'593201','JERRY BRÖNHEIM','Ja'),
(56,'906026','MADELEINE BRÖNHEIM','Ja'),
(57,'775004','LINDA B','Ja'),
(58,'454803','PELLE','Ja'),
(59,'326903','ANNETTE','Ja'),
(60,'643392','THOMAS','Ja'),
(61,'918544','PIA','Ja');
/*!40000 ALTER TABLE `spelare` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `statistik`
--

DROP TABLE IF EXISTS `statistik`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `statistik` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `namn` varchar(100) NOT NULL,
  `spelid` int(11) NOT NULL,
  `vinst1` int(11) DEFAULT 0,
  `vinst2` int(11) DEFAULT 0,
  `vinst3` int(11) DEFAULT 0,
  `vinst4` int(11) DEFAULT 0,
  `vinst5` int(11) DEFAULT 0,
  `vinst6` int(11) DEFAULT 0,
  `vinst7` int(11) DEFAULT 0,
  `vinst8` int(11) DEFAULT 0,
  `vinst9` int(11) DEFAULT 0,
  `vinst10` int(11) DEFAULT 0,
  `poang1` int(11) DEFAULT 0,
  `poang2` int(11) DEFAULT 0,
  `poang3` int(11) DEFAULT 0,
  `poang4` int(11) DEFAULT 0,
  `poang5` int(11) DEFAULT 0,
  `poang6` int(11) DEFAULT 0,
  `poang7` int(11) DEFAULT 0,
  `poang8` int(11) DEFAULT 0,
  `poang9` int(11) DEFAULT 0,
  `poang10` int(11) DEFAULT 0,
  `spel` int(11) NOT NULL DEFAULT 1,
  `pris` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `statistik`
--

LOCK TABLES `statistik` WRITE;
/*!40000 ALTER TABLE `statistik` DISABLE KEYS */;
INSERT INTO `statistik` VALUES
(12,'ANNETTE PERSSON',420036,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(13,'CHRISTER PERSSON',357990,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(18,'GÖRAN BLOMQVIST',539085,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(20,'JAN QRONQVIST',750157,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(21,'BRITA DRAYCOTT FERNLID',607249,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(22,'ANDERS FERNLID',149680,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(23,'KATE GLANTZ',355542,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(25,'EVA GUSTAVSSON',516456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(27,'CAMILLA JOHANSSON',350363,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(28,'FREDRIK JOHANSSON',444458,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(29,'AGNETA JÖNSSON',815872,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(31,'KARIN LYDOW',859306,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(32,'PETER LYDOW',668321,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(38,'SIV SIMONSSON',702705,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(40,'FREDRIKA VESTMAN',567560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(44,'HANS ENGFELDT',646625,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(45,'PAUL ALM',507522,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(46,'LINDA ALM',321660,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(47,'MARGOT ALM',559264,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(48,'TIMMY',374932,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(49,'IRENE',524629,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(50,'MAYLIS',651546,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(51,'SUSANNE LUNDBLAD',250076,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(52,'MONICA FLINCK',997828,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(53,'PERNILLA',896229,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(54,'JAN',311005,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(55,'JERRY BRÖNHEIM',593201,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(56,'MADELEINE BRÖNHEIM',906026,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(57,'LINDA B',775004,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(58,'PELLE',454803,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(59,'ANNETTE',326903,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(60,'THOMAS',643392,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(61,'PIA',918544,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0);
/*!40000 ALTER TABLE `statistik` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2026-08-08 16:00:04
