Files
old-experiments/snipe-it-test/backup.sql

1550 lines
89 KiB
MySQL
Raw Normal View History

2018-07-23 07:12:19 +02:00
-- MySQL dump 10.13 Distrib 5.7.22, for Linux (x86_64)
--
-- Host: 127.0.0.1 Database: snipeit
-- ------------------------------------------------------
-- Server version 5.7.22-0ubuntu0.16.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 utf8 */;
/*!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 */;
--
-- Table structure for table `accessories`
--
DROP TABLE IF EXISTS `accessories`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accessories` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`category_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`qty` int(11) NOT NULL DEFAULT '0',
`requestable` tinyint(1) NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`location_id` int(11) DEFAULT NULL,
`purchase_date` date DEFAULT NULL,
`purchase_cost` decimal(20,2) DEFAULT NULL,
`order_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`company_id` int(10) unsigned DEFAULT NULL,
`min_amt` int(11) DEFAULT NULL,
`manufacturer_id` int(11) DEFAULT NULL,
`model_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`supplier_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `accessories`
--
LOCK TABLES `accessories` WRITE;
/*!40000 ALTER TABLE `accessories` DISABLE KEYS */;
/*!40000 ALTER TABLE `accessories` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `accessories_users`
--
DROP TABLE IF EXISTS `accessories_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accessories_users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`accessory_id` int(11) DEFAULT NULL,
`assigned_to` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `accessories_users`
--
LOCK TABLES `accessories_users` WRITE;
/*!40000 ALTER TABLE `accessories_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `accessories_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `action_logs`
--
DROP TABLE IF EXISTS `action_logs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `action_logs` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`action_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`target_id` int(11) DEFAULT NULL,
`target_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`location_id` int(11) DEFAULT NULL,
`note` text COLLATE utf8mb4_unicode_ci,
`filename` text COLLATE utf8mb4_unicode_ci,
`item_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`item_id` int(11) NOT NULL,
`expected_checkin` date DEFAULT NULL,
`accepted_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`thread_id` int(11) DEFAULT NULL,
`company_id` int(11) DEFAULT NULL,
`accept_signature` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`log_meta` text COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`id`),
KEY `action_logs_thread_id_index` (`thread_id`),
KEY `action_logs_target_id_target_type_index` (`target_id`,`target_type`),
KEY `action_logs_created_at_index` (`created_at`),
KEY `action_logs_item_type_item_id_action_type_index` (`item_type`,`item_id`,`action_type`),
KEY `action_logs_target_type_target_id_action_type_index` (`target_type`,`target_id`,`action_type`)
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `action_logs`
--
LOCK TABLES `action_logs` WRITE;
/*!40000 ALTER TABLE `action_logs` DISABLE KEYS */;
INSERT INTO `action_logs` VALUES (1,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',1,NULL,NULL,'2018-07-23 01:55:23','2018-07-23 01:55:23',NULL,NULL,NULL,NULL,NULL),(2,1,'checkout',1,'App\\Models\\User',NULL,'Checked out on asset creation',NULL,'App\\Models\\Asset',1,NULL,NULL,'2018-07-23 01:55:23','2018-07-23 01:55:23',NULL,NULL,NULL,NULL,NULL),(3,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',2,NULL,NULL,'2018-07-23 02:48:10','2018-07-23 02:48:10',NULL,NULL,NULL,NULL,NULL),(4,1,'checkout',1,'App\\Models\\User',NULL,'Checked out on asset creation',NULL,'App\\Models\\Asset',2,NULL,NULL,'2018-07-23 02:48:10','2018-07-23 02:48:10',NULL,NULL,NULL,NULL,NULL),(5,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',2,NULL,NULL,'2018-07-23 02:48:34','2018-07-23 02:48:34',NULL,NULL,NULL,NULL,NULL),(6,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',3,NULL,NULL,'2018-07-23 03:16:35','2018-07-23 03:16:35',NULL,NULL,NULL,NULL,NULL),(7,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',4,NULL,NULL,'2018-07-23 03:16:56','2018-07-23 03:16:56',NULL,NULL,NULL,NULL,NULL),(8,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',1,NULL,NULL,'2018-07-23 03:19:31','2018-07-23 03:19:31',NULL,NULL,NULL,NULL,NULL),(9,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',5,NULL,NULL,'2018-07-23 03:32:54','2018-07-23 03:32:54',NULL,NULL,NULL,NULL,NULL),(10,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',6,NULL,NULL,'2018-07-23 03:33:02','2018-07-23 03:33:02',NULL,NULL,NULL,NULL,NULL),(11,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',7,NULL,NULL,'2018-07-23 03:33:07','2018-07-23 03:33:07',NULL,NULL,NULL,NULL,NULL),(12,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',8,NULL,NULL,'2018-07-23 03:35:20','2018-07-23 03:35:20',NULL,NULL,NULL,NULL,NULL),(13,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',9,NULL,NULL,'2018-07-23 04:01:29','2018-07-23 04:01:29',NULL,NULL,NULL,NULL,NULL),(14,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',10,NULL,NULL,'2018-07-23 04:26:51','2018-07-23 04:26:51',NULL,NULL,NULL,NULL,NULL),(15,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',9,NULL,NULL,'2018-07-23 04:27:08','2018-07-23 04:27:08',NULL,NULL,NULL,NULL,NULL),(16,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',8,NULL,NULL,'2018-07-23 04:27:09','2018-07-23 04:27:09',NULL,NULL,NULL,NULL,NULL),(17,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',7,NULL,NULL,'2018-07-23 04:27:10','2018-07-23 04:27:10',NULL,NULL,NULL,NULL,NULL),(18,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',6,NULL,NULL,'2018-07-23 04:27:10','2018-07-23 04:27:10',NULL,NULL,NULL,NULL,NULL),(19,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',5,NULL,NULL,'2018-07-23 04:27:11','2018-07-23 04:27:11',NULL,NULL,NULL,NULL,NULL),(20,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',4,NULL,NULL,'2018-07-23 04:27:13','2018-07-23 04:27:13',NULL,NULL,NULL,NULL,NULL),(21,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',11,NULL,NULL,'2018-07-23 04:33:32','2018-07-23 04:33:32',NULL,NULL,NULL,NULL,NULL),(22,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',12,NULL,NULL,'2018-07-23 04:34:20','2018-07-23 04:34:20',NULL,NULL,NULL,NULL,NULL),(23,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',3,NULL,NULL,'2018-07-23 04:34:27','2018-07-23 04:34:27',NULL,NULL,NULL,NULL,NULL),(24,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',12,NULL,NULL,'2018-07-23 04:34:28','2018-07-23 04:34:28',NULL,NULL,NULL,NULL,NULL),(25,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',13,NULL,NULL,'2018-07-23 04:34:30','2018-07-23 04:34:30',NULL,NULL,NULL,NULL,NULL),(26,1,'create',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',14,NULL,NULL,'2018-07-23 04:35:12','2018-07-23 04:35:12',NULL,NULL,NULL,NULL,NULL),(27,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',10,NULL,NULL,'2018-07-23 04:35:21','2018-07-23 04:35:21',NULL,NULL,NULL,NULL,NULL),(28,1,'delete',NULL,NULL,NULL,NULL,NULL,'App\\Models\\Asset',11,NULL,NULL,'2018-07-23 04:35:22','2018-07-23 04:35:22',NUL
/*!40000 ALTER TABLE `action_logs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `asset_logs`
--
DROP TABLE IF EXISTS `asset_logs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `asset_logs` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`action_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`asset_id` int(11) NOT NULL,
`checkedout_to` int(11) DEFAULT NULL,
`location_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`asset_type` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`note` text COLLATE utf8mb4_unicode_ci,
`filename` text COLLATE utf8mb4_unicode_ci,
`requested_at` datetime DEFAULT NULL,
`accepted_at` datetime DEFAULT NULL,
`accessory_id` int(11) DEFAULT NULL,
`accepted_id` int(11) DEFAULT NULL,
`consumable_id` int(11) DEFAULT NULL,
`expected_checkin` date DEFAULT NULL,
`component_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `asset_logs`
--
LOCK TABLES `asset_logs` WRITE;
/*!40000 ALTER TABLE `asset_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_logs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `asset_maintenances`
--
DROP TABLE IF EXISTS `asset_maintenances`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `asset_maintenances` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`asset_id` int(10) unsigned NOT NULL,
`supplier_id` int(10) unsigned NOT NULL,
`asset_maintenance_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`title` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`is_warranty` tinyint(1) NOT NULL,
`start_date` date NOT NULL,
`completion_date` date DEFAULT NULL,
`asset_maintenance_time` int(11) DEFAULT NULL,
`notes` longtext COLLATE utf8mb4_unicode_ci,
`cost` decimal(20,2) DEFAULT NULL,
`deleted_at` datetime DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `asset_maintenances`
--
LOCK TABLES `asset_maintenances` WRITE;
/*!40000 ALTER TABLE `asset_maintenances` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_maintenances` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `asset_uploads`
--
DROP TABLE IF EXISTS `asset_uploads`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `asset_uploads` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`filename` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`asset_id` int(11) NOT NULL,
`filenotes` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `asset_uploads`
--
LOCK TABLES `asset_uploads` WRITE;
/*!40000 ALTER TABLE `asset_uploads` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_uploads` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `assets`
--
DROP TABLE IF EXISTS `assets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `assets` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`asset_tag` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`model_id` int(11) DEFAULT NULL,
`serial` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`purchase_date` date DEFAULT NULL,
`purchase_cost` decimal(20,2) DEFAULT NULL,
`order_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`assigned_to` int(11) DEFAULT NULL,
`notes` text COLLATE utf8mb4_unicode_ci,
`image` text COLLATE utf8mb4_unicode_ci,
`user_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`physical` tinyint(1) NOT NULL DEFAULT '1',
`deleted_at` timestamp NULL DEFAULT NULL,
`status_id` int(11) DEFAULT NULL,
`archived` tinyint(1) DEFAULT '0',
`warranty_months` int(11) DEFAULT NULL,
`depreciate` tinyint(1) DEFAULT NULL,
`supplier_id` int(11) DEFAULT NULL,
`requestable` tinyint(4) NOT NULL DEFAULT '0',
`rtd_location_id` int(11) DEFAULT NULL,
`_snipeit_mac_address_1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`accepted` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`last_checkout` datetime DEFAULT NULL,
`expected_checkin` date DEFAULT NULL,
`company_id` int(10) unsigned DEFAULT NULL,
`assigned_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`last_audit_date` datetime DEFAULT NULL,
`next_audit_date` date DEFAULT NULL,
`location_id` int(11) DEFAULT NULL,
`checkin_counter` int(11) NOT NULL DEFAULT '0',
`checkout_counter` int(11) NOT NULL DEFAULT '0',
`requests_counter` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `assets_rtd_location_id_index` (`rtd_location_id`),
KEY `assets_assigned_type_assigned_to_index` (`assigned_type`,`assigned_to`),
KEY `assets_created_at_index` (`created_at`),
KEY `assets_deleted_at_status_id_index` (`deleted_at`,`status_id`),
KEY `assets_deleted_at_model_id_index` (`deleted_at`,`model_id`),
KEY `assets_deleted_at_assigned_type_assigned_to_index` (`deleted_at`,`assigned_type`,`assigned_to`),
KEY `assets_deleted_at_supplier_id_index` (`deleted_at`,`supplier_id`),
KEY `assets_deleted_at_location_id_index` (`deleted_at`,`location_id`),
KEY `assets_deleted_at_rtd_location_id_index` (`deleted_at`,`rtd_location_id`),
KEY `assets_deleted_at_asset_tag_index` (`deleted_at`,`asset_tag`),
KEY `assets_deleted_at_name_index` (`deleted_at`,`name`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `assets`
--
LOCK TABLES `assets` WRITE;
/*!40000 ALTER TABLE `assets` DISABLE KEYS */;
INSERT INTO `assets` VALUES (1,'Asset 1','TAG1',1,'FGDV&67677','2018-07-03',544.00,'54545',NULL,'',NULL,1,'2018-07-23 01:55:23','2018-07-23 03:19:31',1,'2018-07-23 03:19:31',2,0,12,0,1,0,1,NULL,NULL,'2018-07-23 03:55:23',NULL,NULL,'App\\Models\\User',NULL,NULL,1,0,1,0),(2,'Asset 2','Asset 2',1,'Test123','2018-07-24',55.00,'54535',NULL,'',NULL,1,'2018-07-23 02:48:10','2018-07-23 02:48:34',1,'2018-07-23 02:48:34',2,0,12,0,1,0,1,NULL,NULL,'2018-07-23 04:48:10',NULL,NULL,'App\\Models\\User',NULL,NULL,1,0,1,0),(3,'Asset 1','Asset tag3',1,'FDFSF98899FSFSF','2018-07-03',544.00,'54545',NULL,'',NULL,1,'2018-07-23 03:16:35','2018-07-23 04:34:27',1,'2018-07-23 04:34:27',2,0,12,0,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,0,0),(4,'Asset 1','Asset tag 5',1,'FEFF5454545','2018-07-03',544.00,'54545',NULL,'',NULL,1,'2018-07-23 03:16:56','2018-07-23 04:27:13',1,'2018-07-23 04:27:13',2,0,12,0,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,0,0),(5,NULL,'ASSET7',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 03:32:54','2018-07-23 04:27:11',1,'2018-07-23 04:27:11',1,0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(6,NULL,'ASSET8',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 03:33:02','2018-07-23 04:27:10',1,'2018-07-23 04:27:10',1,0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(7,NULL,'ASSET9',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 03:33:07','2018-07-23 04:27:10',1,'2018-07-23 04:27:10',1,0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(8,'Some name','ASSET10',1,'AHG87DSAD98',NULL,NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 03:35:20','2018-07-23 04:27:09',1,'2018-07-23 04:27:09',1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(9,'Some name','ASSET15',1,'AHG87DSAD98',NULL,NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 04:01:29','2018-07-23 04:27:08',1,'2018-07-23 04:27:08',1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(10,'Name','00568e3c-4e1f-4cf2-a06d-d975a7a3632a',1,'SE','0000-00-00',NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 04:26:51','2018-07-23 04:35:21',1,'2018-07-23 04:35:21',1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(11,'Name','e3cce963-a434-4de6-895a-51efc34a701a',1,'SE','0000-00-00',NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 04:33:32','2018-07-23 04:35:22',1,'2018-07-23 04:35:22',1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(12,'Name','4bb0e5a3-ce22-42b3-92ca-4a4b84261be8',1,'SE','2018-07-03',NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 04:34:20','2018-07-23 04:34:28',1,'2018-07-23 04:34:28',1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(13,'Name','65777caf-d0df-4d02-b9e2-fc64228b1af5',1,'SE','2018-07-03',NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 04:34:30','2018-07-23 04:34:30',1,NULL,1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(14,'Name','38ba4435-bc66-4b45-b0e5-6278ea626f4b',1,'SE','2018-07-23',NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 04:35:12','2018-07-23 04:35:12',1,NULL,1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(15,'Name','c98e11f1-f06f-42c6-9ce6-42b41f33aede',1,'SE','2018-07-23',NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 04:35:24','2018-07-23 04:35:24',1,NULL,1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(16,NULL,'aa05b27b-4b5f-4ce8-b62e-ab003a5482e1',1,'SE','2018-07-23',NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 04:36:16','2018-07-23 04:45:15',1,'2018-07-23 04:45:15',1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(17,'Name','a5f3720e-887b-4b8d-9f2c-ff1e9204200e',1,'SE','2018-07-23',NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 04:37:31','2018-07-23 04:45:14',1,'2018-07-23 04:45:14',1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(18,'Name','41e28ea1-6c15-46fa-8acb-d547129b0707',1,'SE','2018-07-23',NULL,NULL,NULL,NULL,NULL,1,'2018-07-23 04:40:15','2018-07-23 04:45:14',1,'2018-07-23 04:45:14',1,0,12,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0),(19,'Name','aa9f2dee-4f17-4ead-a884-0a5bcb59ff56',1,'SE','2018-0
/*!40000 ALTER TABLE `assets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `categories`
--
DROP TABLE IF EXISTS `categories`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `categories` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`eula_text` longtext COLLATE utf8mb4_unicode_ci,
`use_default_eula` tinyint(1) NOT NULL DEFAULT '0',
`require_acceptance` tinyint(1) NOT NULL DEFAULT '0',
`category_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 'asset',
`checkin_email` tinyint(1) NOT NULL DEFAULT '0',
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `categories`
--
LOCK TABLES `categories` WRITE;
/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
INSERT INTO `categories` VALUES (1,'Misc Software','2018-07-23 01:45:32','2018-07-23 01:45:32',NULL,NULL,NULL,0,0,'license',0,NULL),(2,'Laptop','2018-07-23 01:52:04','2018-07-23 01:52:04',1,NULL,'',0,0,'asset',0,NULL);
/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `checkout_requests`
--
DROP TABLE IF EXISTS `checkout_requests`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `checkout_requests` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`requestable_id` int(11) NOT NULL,
`requestable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`quantity` int(11) NOT NULL DEFAULT '1',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`canceled_at` datetime DEFAULT NULL,
`fulfilled_at` datetime DEFAULT NULL,
`deleted_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `checkout_requests_user_id_requestable_id_requestable_type` (`user_id`,`requestable_id`,`requestable_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `checkout_requests`
--
LOCK TABLES `checkout_requests` WRITE;
/*!40000 ALTER TABLE `checkout_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `checkout_requests` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `companies`
--
DROP TABLE IF EXISTS `companies`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `companies` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `companies_name_unique` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `companies`
--
LOCK TABLES `companies` WRITE;
/*!40000 ALTER TABLE `companies` DISABLE KEYS */;
/*!40000 ALTER TABLE `companies` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `components`
--
DROP TABLE IF EXISTS `components`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `components` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`category_id` int(11) DEFAULT NULL,
`location_id` int(11) DEFAULT NULL,
`company_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`qty` int(11) NOT NULL DEFAULT '1',
`order_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`purchase_date` date DEFAULT NULL,
`purchase_cost` decimal(20,2) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`min_amt` int(11) DEFAULT NULL,
`serial` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `components`
--
LOCK TABLES `components` WRITE;
/*!40000 ALTER TABLE `components` DISABLE KEYS */;
/*!40000 ALTER TABLE `components` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `components_assets`
--
DROP TABLE IF EXISTS `components_assets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `components_assets` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`assigned_qty` int(11) DEFAULT '1',
`component_id` int(11) DEFAULT NULL,
`asset_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `components_assets`
--
LOCK TABLES `components_assets` WRITE;
/*!40000 ALTER TABLE `components_assets` DISABLE KEYS */;
/*!40000 ALTER TABLE `components_assets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `consumables`
--
DROP TABLE IF EXISTS `consumables`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `consumables` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`category_id` int(11) DEFAULT NULL,
`location_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`qty` int(11) NOT NULL DEFAULT '0',
`requestable` tinyint(1) NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`purchase_date` date DEFAULT NULL,
`purchase_cost` decimal(20,2) DEFAULT NULL,
`order_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`company_id` int(10) unsigned DEFAULT NULL,
`min_amt` int(11) DEFAULT NULL,
`model_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`manufacturer_id` int(11) DEFAULT NULL,
`item_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `consumables`
--
LOCK TABLES `consumables` WRITE;
/*!40000 ALTER TABLE `consumables` DISABLE KEYS */;
/*!40000 ALTER TABLE `consumables` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `consumables_users`
--
DROP TABLE IF EXISTS `consumables_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `consumables_users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`consumable_id` int(11) DEFAULT NULL,
`assigned_to` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `consumables_users`
--
LOCK TABLES `consumables_users` WRITE;
/*!40000 ALTER TABLE `consumables_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `consumables_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `custom_field_custom_fieldset`
--
DROP TABLE IF EXISTS `custom_field_custom_fieldset`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `custom_field_custom_fieldset` (
`custom_field_id` int(11) NOT NULL,
`custom_fieldset_id` int(11) NOT NULL,
`order` int(11) NOT NULL,
`required` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `custom_field_custom_fieldset`
--
LOCK TABLES `custom_field_custom_fieldset` WRITE;
/*!40000 ALTER TABLE `custom_field_custom_fieldset` DISABLE KEYS */;
INSERT INTO `custom_field_custom_fieldset` VALUES (1,1,1,0);
/*!40000 ALTER TABLE `custom_field_custom_fieldset` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `custom_fields`
--
DROP TABLE IF EXISTS `custom_fields`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `custom_fields` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`format` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`element` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`field_values` text COLLATE utf8mb4_unicode_ci,
`field_encrypted` tinyint(1) NOT NULL DEFAULT '0',
`db_column` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`help_text` text COLLATE utf8mb4_unicode_ci,
`show_in_email` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `custom_fields`
--
LOCK TABLES `custom_fields` WRITE;
/*!40000 ALTER TABLE `custom_fields` DISABLE KEYS */;
INSERT INTO `custom_fields` VALUES (1,'MAC Address','regex:/^[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}$/','text',NULL,'2018-07-23 01:45:29',NULL,NULL,0,'_snipeit_mac_address_1',NULL,0);
/*!40000 ALTER TABLE `custom_fields` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `custom_fieldsets`
--
DROP TABLE IF EXISTS `custom_fieldsets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `custom_fieldsets` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `custom_fieldsets`
--
LOCK TABLES `custom_fieldsets` WRITE;
/*!40000 ALTER TABLE `custom_fieldsets` DISABLE KEYS */;
INSERT INTO `custom_fieldsets` VALUES (1,'Asset with MAC Address',NULL,NULL,NULL);
/*!40000 ALTER TABLE `custom_fieldsets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `departments`
--
DROP TABLE IF EXISTS `departments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `departments` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` int(11) NOT NULL,
`company_id` int(11) DEFAULT NULL,
`location_id` int(11) DEFAULT NULL,
`manager_id` int(11) DEFAULT NULL,
`notes` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `departments`
--
LOCK TABLES `departments` WRITE;
/*!40000 ALTER TABLE `departments` DISABLE KEYS */;
/*!40000 ALTER TABLE `departments` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `depreciations`
--
DROP TABLE IF EXISTS `depreciations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `depreciations` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`months` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `depreciations`
--
LOCK TABLES `depreciations` WRITE;
/*!40000 ALTER TABLE `depreciations` DISABLE KEYS */;
/*!40000 ALTER TABLE `depreciations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `groups`
--
DROP TABLE IF EXISTS `groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `groups` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`permissions` text COLLATE utf8mb4_unicode_ci,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `groups`
--
LOCK TABLES `groups` WRITE;
/*!40000 ALTER TABLE `groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `groups` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `imports`
--
DROP TABLE IF EXISTS `imports`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `imports` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`file_path` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`filesize` int(11) NOT NULL,
`import_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`header_row` text COLLATE utf8mb4_unicode_ci,
`first_row` text COLLATE utf8mb4_unicode_ci,
`field_map` text COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `imports`
--
LOCK TABLES `imports` WRITE;
/*!40000 ALTER TABLE `imports` DISABLE KEYS */;
/*!40000 ALTER TABLE `imports` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `license_seats`
--
DROP TABLE IF EXISTS `license_seats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `license_seats` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`license_id` int(11) DEFAULT NULL,
`assigned_to` int(11) DEFAULT NULL,
`notes` text COLLATE utf8mb4_unicode_ci,
`user_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`asset_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `license_seats`
--
LOCK TABLES `license_seats` WRITE;
/*!40000 ALTER TABLE `license_seats` DISABLE KEYS */;
/*!40000 ALTER TABLE `license_seats` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `licenses`
--
DROP TABLE IF EXISTS `licenses`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `licenses` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`serial` varchar(2048) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`purchase_date` date DEFAULT NULL,
`purchase_cost` decimal(20,2) DEFAULT NULL,
`order_number` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`seats` int(11) NOT NULL DEFAULT '1',
`notes` text COLLATE utf8mb4_unicode_ci,
`user_id` int(11) DEFAULT NULL,
`depreciation_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`license_name` varchar(120) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`license_email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`depreciate` tinyint(1) DEFAULT NULL,
`supplier_id` int(11) DEFAULT NULL,
`expiration_date` date DEFAULT NULL,
`purchase_order` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`termination_date` date DEFAULT NULL,
`maintained` tinyint(1) DEFAULT NULL,
`reassignable` tinyint(1) NOT NULL DEFAULT '1',
`company_id` int(10) unsigned DEFAULT NULL,
`manufacturer_id` int(11) DEFAULT NULL,
`category_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `licenses`
--
LOCK TABLES `licenses` WRITE;
/*!40000 ALTER TABLE `licenses` DISABLE KEYS */;
/*!40000 ALTER TABLE `licenses` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `locations`
--
DROP TABLE IF EXISTS `locations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `locations` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`city` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`state` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`country` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`address` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address2` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`zip` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`parent_id` int(11) DEFAULT NULL,
`currency` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ldap_ou` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`manager_id` int(11) DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `locations`
--
LOCK TABLES `locations` WRITE;
/*!40000 ALTER TABLE `locations` DISABLE KEYS */;
INSERT INTO `locations` VALUES (1,'Location 1','City 1',NULL,'AC','2018-07-23 01:55:21','2018-07-23 01:55:21',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `locations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `login_attempts`
--
DROP TABLE IF EXISTS `login_attempts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `login_attempts` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`remote_ip` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_agent` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`successful` tinyint(1) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `login_attempts`
--
LOCK TABLES `login_attempts` WRITE;
/*!40000 ALTER TABLE `login_attempts` DISABLE KEYS */;
INSERT INTO `login_attempts` VALUES (1,'almira','::1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36',1,'2018-07-23 01:48:35',NULL),(2,'asset-manager','::1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36',1,'2018-07-23 05:02:46',NULL);
/*!40000 ALTER TABLE `login_attempts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `manufacturers`
--
DROP TABLE IF EXISTS `manufacturers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `manufacturers` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`support_url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`support_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`support_email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `manufacturers`
--
LOCK TABLES `manufacturers` WRITE;
/*!40000 ALTER TABLE `manufacturers` DISABLE KEYS */;
INSERT INTO `manufacturers` VALUES (1,'Manufacter 1','2018-07-23 01:51:01','2018-07-23 01:51:01',1,NULL,'http://localhost','http://localhost','2222222222','manufacter1@supplier.com',NULL);
/*!40000 ALTER TABLE `manufacturers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `migrations`
--
DROP TABLE IF EXISTS `migrations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `migrations` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=273 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `migrations`
--
LOCK TABLES `migrations` WRITE;
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
INSERT INTO `migrations` VALUES (1,'2012_12_06_225921_migration_cartalyst_sentry_install_users',1),(2,'2012_12_06_225929_migration_cartalyst_sentry_install_groups',1),(3,'2012_12_06_225945_migration_cartalyst_sentry_install_users_groups_pivot',1),(4,'2012_12_06_225988_migration_cartalyst_sentry_install_throttle',1),(5,'2013_03_23_193214_update_users_table',1),(6,'2013_11_13_075318_create_models_table',1),(7,'2013_11_13_075335_create_categories_table',1),(8,'2013_11_13_075347_create_manufacturers_table',1),(9,'2013_11_15_015858_add_user_id_to_categories',1),(10,'2013_11_15_112701_add_user_id_to_manufacturers',1),(11,'2013_11_15_190327_create_assets_table',1),(12,'2013_11_15_190357_create_licenses_table',1),(13,'2013_11_15_201848_add_license_name_to_licenses',1),(14,'2013_11_16_040323_create_depreciations_table',1),(15,'2013_11_16_042851_add_depreciation_id_to_models',1),(16,'2013_11_16_084923_add_user_id_to_models',1),(17,'2013_11_16_103258_create_locations_table',1),(18,'2013_11_16_103336_add_location_id_to_assets',1),(19,'2013_11_16_103407_add_checkedout_to_to_assets',1),(20,'2013_11_16_103425_create_history_table',1),(21,'2013_11_17_054359_drop_licenses_table',1),(22,'2013_11_17_054526_add_physical_to_assets',1),(23,'2013_11_17_055126_create_settings_table',1),(24,'2013_11_17_062634_add_license_to_assets',1),(25,'2013_11_18_134332_add_contacts_to_users',1),(26,'2013_11_18_142847_add_info_to_locations',1),(27,'2013_11_18_152942_remove_location_id_from_asset',1),(28,'2013_11_18_164423_set_nullvalues_for_user',1),(29,'2013_11_19_013337_create_asset_logs_table',1),(30,'2013_11_19_061409_edit_added_on_asset_logs_table',1),(31,'2013_11_19_062250_edit_location_id_asset_logs_table',1),(32,'2013_11_20_055822_add_soft_delete_on_assets',1),(33,'2013_11_20_121404_add_soft_delete_on_locations',1),(34,'2013_11_20_123137_add_soft_delete_on_manufacturers',1),(35,'2013_11_20_123725_add_soft_delete_on_categories',1),(36,'2013_11_20_130248_create_status_labels',1),(37,'2013_11_20_130830_add_status_id_on_assets_table',1),(38,'2013_11_20_131544_add_status_type_on_status_labels',1),(39,'2013_11_20_134103_add_archived_to_assets',1),(40,'2013_11_21_002321_add_uploads_table',1),(41,'2013_11_21_024531_remove_deployable_boolean_from_status_labels',1),(42,'2013_11_22_075308_add_option_label_to_settings_table',1),(43,'2013_11_22_213400_edits_to_settings_table',1),(44,'2013_11_25_013244_create_licenses_table',1),(45,'2013_11_25_031458_create_license_seats_table',1),(46,'2013_11_25_032022_add_type_to_actionlog_table',1),(47,'2013_11_25_033008_delete_bad_licenses_table',1),(48,'2013_11_25_033131_create_new_licenses_table',1),(49,'2013_11_25_033534_add_licensed_to_licenses_table',1),(50,'2013_11_25_101308_add_warrantee_to_assets_table',1),(51,'2013_11_25_104343_alter_warranty_column_on_assets',1),(52,'2013_11_25_150450_drop_parent_from_categories',1),(53,'2013_11_25_151920_add_depreciate_to_assets',1),(54,'2013_11_25_152903_add_depreciate_to_licenses_table',1),(55,'2013_11_26_211820_drop_license_from_assets_table',1),(56,'2013_11_27_062510_add_note_to_asset_logs_table',1),(57,'2013_12_01_113426_add_filename_to_asset_log',1),(58,'2013_12_06_094618_add_nullable_to_licenses_table',1),(59,'2013_12_10_084038_add_eol_on_models_table',1),(60,'2013_12_12_055218_add_manager_to_users_table',1),(61,'2014_01_28_031200_add_qr_code_to_settings_table',1),(62,'2014_02_13_183016_add_qr_text_to_settings_table',1),(63,'2014_05_24_093839_alter_default_license_depreciation_id',1),(64,'2014_05_27_231658_alter_default_values_licenses',1),(65,'2014_06_19_191508_add_asset_name_to_settings',1),(66,'2014_06_20_004847_make_asset_log_checkedout_to_nullable',1),(67,'2014_06_20_005050_make_asset_log_purchasedate_to_nullable',1),(68,'2014_06_24_003011_add_suppliers',1),(69,'2014_06_24_010742_add_supplier_id_to_asset',1),(70,'2014_06_24_012839_add_zip_to_supplier',1),(71,'2014_06_24_033908_add_url_to_supplier',1),(72,'2014_07_08_054116_add_employee_id_to_users',1),(73,'2014_07_09_134316_add_requestable_to_assets',1),(74,'2014_07_17_085822_add_asset_to_software',1),(75,'2014_07_17_16
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `models`
--
DROP TABLE IF EXISTS `models`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `models` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`model_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`manufacturer_id` int(11) DEFAULT NULL,
`category_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`depreciation_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`eol` int(11) DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`deprecated_mac_address` tinyint(1) NOT NULL DEFAULT '0',
`deleted_at` timestamp NULL DEFAULT NULL,
`fieldset_id` int(11) DEFAULT NULL,
`notes` text COLLATE utf8mb4_unicode_ci,
`requestable` tinyint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `models`
--
LOCK TABLES `models` WRITE;
/*!40000 ALTER TABLE `models` DISABLE KEYS */;
INSERT INTO `models` VALUES (1,'Laptop Model 1','344FG',1,2,'2018-07-23 01:54:32','2018-07-23 01:54:32',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,0);
/*!40000 ALTER TABLE `models` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `models_custom_fields`
--
DROP TABLE IF EXISTS `models_custom_fields`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `models_custom_fields` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`asset_model_id` int(11) NOT NULL,
`custom_field_id` int(11) NOT NULL,
`default_value` text COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `models_custom_fields`
--
LOCK TABLES `models_custom_fields` WRITE;
/*!40000 ALTER TABLE `models_custom_fields` DISABLE KEYS */;
/*!40000 ALTER TABLE `models_custom_fields` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `oauth_access_tokens`
--
DROP TABLE IF EXISTS `oauth_access_tokens`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_access_tokens` (
`id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` int(11) DEFAULT NULL,
`client_id` int(11) NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`scopes` text COLLATE utf8mb4_unicode_ci,
`revoked` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`expires_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `oauth_access_tokens_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `oauth_access_tokens`
--
LOCK TABLES `oauth_access_tokens` WRITE;
/*!40000 ALTER TABLE `oauth_access_tokens` DISABLE KEYS */;
INSERT INTO `oauth_access_tokens` VALUES ('12efca1bb870276bc7ea98afbcd69ea933507b3be80c705b7319b287460266e7623871c1032693cb',1,1,'almira','[]',1,'2018-07-23 02:00:48','2018-07-23 02:00:48','2019-07-23 04:00:48'),('d9f706a55bc632ae36f61dd0990fe72bbc2def1f46b2da54ee94250ccdd1a68df99399ea38b67588',1,1,'almira','[]',0,'2018-07-23 02:04:37','2018-07-23 02:04:37','2019-07-23 04:04:37');
/*!40000 ALTER TABLE `oauth_access_tokens` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `oauth_auth_codes`
--
DROP TABLE IF EXISTS `oauth_auth_codes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_auth_codes` (
`id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` int(11) NOT NULL,
`client_id` int(11) NOT NULL,
`scopes` text COLLATE utf8mb4_unicode_ci,
`revoked` tinyint(1) NOT NULL,
`expires_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `oauth_auth_codes`
--
LOCK TABLES `oauth_auth_codes` WRITE;
/*!40000 ALTER TABLE `oauth_auth_codes` DISABLE KEYS */;
/*!40000 ALTER TABLE `oauth_auth_codes` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `oauth_clients`
--
DROP TABLE IF EXISTS `oauth_clients`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_clients` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`secret` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`redirect` text COLLATE utf8mb4_unicode_ci NOT NULL,
`personal_access_client` tinyint(1) NOT NULL,
`password_client` tinyint(1) NOT NULL,
`revoked` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `oauth_clients_user_id_index` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `oauth_clients`
--
LOCK TABLES `oauth_clients` WRITE;
/*!40000 ALTER TABLE `oauth_clients` DISABLE KEYS */;
INSERT INTO `oauth_clients` VALUES (1,NULL,'Snipe-IT Personal Access Client','vXS1iBieUJbORKqfI8jnWS3m9I6IeZMOsRPFfz3O','http://localhost',1,0,0,'2018-07-23 01:47:15','2018-07-23 01:47:15'),(2,NULL,'Snipe-IT Password Grant Client','omHH8AO1dZpjMkVacOTHZlieahzCBi2p8cYnXAJd','http://localhost',0,1,0,'2018-07-23 01:47:15','2018-07-23 01:47:15');
/*!40000 ALTER TABLE `oauth_clients` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `oauth_personal_access_clients`
--
DROP TABLE IF EXISTS `oauth_personal_access_clients`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_personal_access_clients` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`client_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `oauth_personal_access_clients_client_id_index` (`client_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `oauth_personal_access_clients`
--
LOCK TABLES `oauth_personal_access_clients` WRITE;
/*!40000 ALTER TABLE `oauth_personal_access_clients` DISABLE KEYS */;
INSERT INTO `oauth_personal_access_clients` VALUES (1,1,'2018-07-23 01:47:15','2018-07-23 01:47:15');
/*!40000 ALTER TABLE `oauth_personal_access_clients` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `oauth_refresh_tokens`
--
DROP TABLE IF EXISTS `oauth_refresh_tokens`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_refresh_tokens` (
`id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`access_token_id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`revoked` tinyint(1) NOT NULL,
`expires_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `oauth_refresh_tokens_access_token_id_index` (`access_token_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `oauth_refresh_tokens`
--
LOCK TABLES `oauth_refresh_tokens` WRITE;
/*!40000 ALTER TABLE `oauth_refresh_tokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `oauth_refresh_tokens` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `password_resets`
--
DROP TABLE IF EXISTS `password_resets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
KEY `password_resets_email_index` (`email`),
KEY `password_resets_token_index` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `password_resets`
--
LOCK TABLES `password_resets` WRITE;
/*!40000 ALTER TABLE `password_resets` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_resets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `requested_assets`
--
DROP TABLE IF EXISTS `requested_assets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `requested_assets` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`asset_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`accepted_at` datetime DEFAULT NULL,
`denied_at` datetime DEFAULT NULL,
`notes` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `requested_assets`
--
LOCK TABLES `requested_assets` WRITE;
/*!40000 ALTER TABLE `requested_assets` DISABLE KEYS */;
/*!40000 ALTER TABLE `requested_assets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `requests`
--
DROP TABLE IF EXISTS `requests`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `requests` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`asset_id` int(11) NOT NULL,
`user_id` int(11) DEFAULT NULL,
`request_code` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `requests`
--
LOCK TABLES `requests` WRITE;
/*!40000 ALTER TABLE `requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `requests` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `settings`
--
DROP TABLE IF EXISTS `settings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `settings` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`per_page` int(11) NOT NULL DEFAULT '20',
`site_name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Snipe IT Asset Management',
`qr_code` int(11) DEFAULT NULL,
`qr_text` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`display_asset_name` int(11) DEFAULT NULL,
`display_checkout_date` int(11) DEFAULT NULL,
`display_eol` int(11) DEFAULT NULL,
`auto_increment_assets` int(11) NOT NULL DEFAULT '0',
`auto_increment_prefix` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
`load_remote` tinyint(1) NOT NULL DEFAULT '1',
`logo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`header_color` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`alert_email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`alerts_enabled` tinyint(1) NOT NULL DEFAULT '1',
`default_eula_text` longtext COLLATE utf8mb4_unicode_ci,
`barcode_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 'QRCODE',
`slack_endpoint` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`slack_channel` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`slack_botname` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`default_currency` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`custom_css` text COLLATE utf8mb4_unicode_ci,
`brand` tinyint(4) NOT NULL DEFAULT '1',
`ldap_enabled` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ldap_server` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ldap_uname` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ldap_pword` longtext COLLATE utf8mb4_unicode_ci,
`ldap_basedn` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ldap_filter` text COLLATE utf8mb4_unicode_ci,
`ldap_username_field` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 'samaccountname',
`ldap_lname_field` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 'sn',
`ldap_fname_field` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 'givenname',
`ldap_auth_filter_query` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 'uid=samaccountname',
`ldap_version` int(11) DEFAULT '3',
`ldap_active_flag` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ldap_emp_num` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ldap_email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`full_multiple_companies_support` tinyint(1) NOT NULL DEFAULT '0',
`ldap_server_cert_ignore` tinyint(1) NOT NULL DEFAULT '0',
`locale` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT 'en',
`labels_per_page` tinyint(4) NOT NULL DEFAULT '30',
`labels_width` decimal(6,5) NOT NULL DEFAULT '2.62500',
`labels_height` decimal(6,5) NOT NULL DEFAULT '1.00000',
`labels_pmargin_left` decimal(6,5) NOT NULL DEFAULT '0.21975',
`labels_pmargin_right` decimal(6,5) NOT NULL DEFAULT '0.21975',
`labels_pmargin_top` decimal(6,5) NOT NULL DEFAULT '0.50000',
`labels_pmargin_bottom` decimal(6,5) NOT NULL DEFAULT '0.50000',
`labels_display_bgutter` decimal(6,5) NOT NULL DEFAULT '0.07000',
`labels_display_sgutter` decimal(6,5) NOT NULL DEFAULT '0.05000',
`labels_fontsize` tinyint(4) NOT NULL DEFAULT '9',
`labels_pagewidth` decimal(7,5) NOT NULL DEFAULT '8.50000',
`labels_pageheight` decimal(7,5) NOT NULL DEFAULT '11.00000',
`labels_display_name` tinyint(4) NOT NULL DEFAULT '0',
`labels_display_serial` tinyint(4) NOT NULL DEFAULT '1',
`labels_display_tag` tinyint(4) NOT NULL DEFAULT '1',
`alt_barcode` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 'C128',
`alt_barcode_enabled` tinyint(1) DEFAULT '1',
`alert_interval` int(11) DEFAULT '30',
`alert_threshold` int(11) DEFAULT '5',
`email_domain` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email_format` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 'filastname',
`username_format` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 'filastname',
`is_ad` tinyint(1) NOT NULL DEFAULT '0',
`ad_domain` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ldap_port` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '389',
`ldap_tls` tinyint(1) NOT NULL DEFAULT '0',
`zerofill_count` int(11) NOT NULL DEFAULT '5',
`ldap_pw_sync` tinyint(1) NOT NULL DEFAULT '1',
`two_factor_enabled` tinyint(4) DEFAULT NULL,
`require_accept_signature` tinyint(1) NOT NULL DEFAULT '0',
`date_display_format` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Y-m-d',
`time_display_format` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'h:i A',
`next_auto_tag_base` bigint(20) NOT NULL DEFAULT '1',
`login_note` text COLLATE utf8mb4_unicode_ci,
`thumbnail_max_h` int(11) DEFAULT '50',
`pwd_secure_uncommon` tinyint(1) NOT NULL DEFAULT '0',
`pwd_secure_complexity` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`pwd_secure_min` int(11) NOT NULL DEFAULT '8',
`audit_interval` int(11) DEFAULT NULL,
`audit_warning_days` int(11) DEFAULT NULL,
`show_url_in_emails` tinyint(1) NOT NULL DEFAULT '0',
`custom_forgot_pass_url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`show_alerts_in_menu` tinyint(1) NOT NULL DEFAULT '1',
`labels_display_company_name` tinyint(1) NOT NULL DEFAULT '0',
`show_archived_in_list` tinyint(1) NOT NULL DEFAULT '0',
`dashboard_message` text COLLATE utf8mb4_unicode_ci,
`support_footer` char(5) COLLATE utf8mb4_unicode_ci DEFAULT 'on',
`footer_text` text COLLATE utf8mb4_unicode_ci,
`modellist_displays` char(191) COLLATE utf8mb4_unicode_ci DEFAULT 'image,category,manufacturer,model_number',
`login_remote_user_enabled` tinyint(1) NOT NULL DEFAULT '0',
`login_common_disabled` tinyint(1) NOT NULL DEFAULT '0',
`login_remote_user_custom_logout_url` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`skin` char(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`show_images_in_email` tinyint(1) NOT NULL DEFAULT '1',
`admin_cc_email` char(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`labels_display_model` tinyint(1) NOT NULL DEFAULT '0',
`privacy_policy_link` char(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`version_footer` char(5) COLLATE utf8mb4_unicode_ci DEFAULT 'on',
`unique_serial` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `settings`
--
LOCK TABLES `settings` WRITE;
/*!40000 ALTER TABLE `settings` DISABLE KEYS */;
INSERT INTO `settings` VALUES (1,'2018-07-23 01:48:35','2018-07-23 04:47:02',1,20,'site name',NULL,NULL,NULL,NULL,NULL,0,'',1,NULL,NULL,'you@example.com',1,NULL,'QRCODE',NULL,NULL,NULL,'USD',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,'samaccountname','sn','givenname','uid=samaccountname',3,NULL,NULL,NULL,0,0,'en',30,2.62500,1.00000,0.21975,0.21975,0.50000,0.50000,0.07000,0.05000,9,8.50000,11.00000,0,1,1,'C128',1,30,5,'mail.com','filastname','filastname',0,NULL,'389',0,5,1,NULL,0,'Y-m-d','h:i A',32,NULL,50,0,NULL,10,NULL,NULL,0,NULL,1,0,0,NULL,'on',NULL,'image,category,manufacturer,model_number',0,0,'',NULL,1,NULL,0,NULL,'on',0);
/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `status_labels`
--
DROP TABLE IF EXISTS `status_labels`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `status_labels` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`deployable` tinyint(1) NOT NULL DEFAULT '0',
`pending` tinyint(1) NOT NULL DEFAULT '0',
`archived` tinyint(1) NOT NULL DEFAULT '0',
`notes` text COLLATE utf8mb4_unicode_ci,
`color` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`show_in_nav` tinyint(1) NOT NULL DEFAULT '0',
`default_label` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `status_labels`
--
LOCK TABLES `status_labels` WRITE;
/*!40000 ALTER TABLE `status_labels` DISABLE KEYS */;
INSERT INTO `status_labels` VALUES (1,'Pending',1,NULL,NULL,NULL,0,1,0,'These assets are not yet ready to be deployed, usually because of configuration or waiting on parts.',NULL,0,0),(2,'Ready to Deploy',1,NULL,NULL,NULL,1,0,0,'These assets are ready to deploy.',NULL,0,0),(3,'Archived',1,NULL,NULL,NULL,0,0,1,'These assets are no longer in circulation or viable.',NULL,0,0);
/*!40000 ALTER TABLE `status_labels` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `suppliers`
--
DROP TABLE IF EXISTS `suppliers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `suppliers` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`address` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address2` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`city` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`state` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`country` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`phone` varchar(35) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`fax` varchar(35) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`contact` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`notes` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`zip` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`url` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `suppliers`
--
LOCK TABLES `suppliers` WRITE;
/*!40000 ALTER TABLE `suppliers` DISABLE KEYS */;
INSERT INTO `suppliers` VALUES (1,'Supplier 1','sdfcsvfsdf, fdfvds, fdfvds','fdfvds','fsdfcsdfcs','sdfsfsfc','BG','+8802222222222','+8802222222222','supplier1@supplier.com','','','2018-07-23 01:51:39','2018-07-23 01:51:39',1,NULL,'323232','http://localhost',NULL);
/*!40000 ALTER TABLE `suppliers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `throttle`
--
DROP TABLE IF EXISTS `throttle`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `throttle` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned DEFAULT NULL,
`ip_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`attempts` int(11) NOT NULL DEFAULT '0',
`suspended` tinyint(1) NOT NULL DEFAULT '0',
`banned` tinyint(1) NOT NULL DEFAULT '0',
`last_attempt_at` timestamp NULL DEFAULT NULL,
`suspended_at` timestamp NULL DEFAULT NULL,
`banned_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `throttle_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `throttle`
--
LOCK TABLES `throttle` WRITE;
/*!40000 ALTER TABLE `throttle` DISABLE KEYS */;
/*!40000 ALTER TABLE `throttle` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`permissions` text COLLATE utf8mb4_unicode_ci,
`activated` tinyint(1) NOT NULL DEFAULT '0',
`activation_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`activated_at` timestamp NULL DEFAULT NULL,
`last_login` timestamp NULL DEFAULT NULL,
`persist_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`reset_password_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`first_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`last_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`website` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`country` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`gravatar` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`location_id` int(11) DEFAULT NULL,
`phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`jobtitle` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`manager_id` int(11) DEFAULT NULL,
`employee_num` text COLLATE utf8mb4_unicode_ci,
`avatar` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`username` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`notes` text COLLATE utf8mb4_unicode_ci,
`company_id` int(10) unsigned DEFAULT NULL,
`remember_token` text COLLATE utf8mb4_unicode_ci,
`ldap_import` tinyint(1) NOT NULL DEFAULT '0',
`locale` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT 'en',
`show_in_list` tinyint(1) NOT NULL DEFAULT '1',
`two_factor_secret` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`two_factor_enrolled` tinyint(1) NOT NULL DEFAULT '0',
`two_factor_optin` tinyint(1) NOT NULL DEFAULT '0',
`department_id` int(11) DEFAULT NULL,
`address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`city` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`state` varchar(3) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`zip` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `users_activation_code_index` (`activation_code`),
KEY `users_reset_password_code_index` (`reset_password_code`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (1,'you@example.com','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','{\"superuser\":1}',1,NULL,NULL,'2018-07-23 05:02:46',NULL,NULL,'almira','almira','2018-07-23 01:48:35','2018-07-23 05:02:46',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'asset-manager',NULL,NULL,'ME9fFHm2vwDgnnFEY5SEdiQLlgpXmDN7mkZk85oMeIel6We45HPogw7nIwzj',0,'en',1,NULL,0,0,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users_groups`
--
DROP TABLE IF EXISTS `users_groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users_groups` (
`user_id` int(10) unsigned NOT NULL,
`group_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`user_id`,`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users_groups`
--
LOCK TABLES `users_groups` WRITE;
/*!40000 ALTER TABLE `users_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `users_groups` 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 2018-07-23 7:03:45