CREATE TABLE IF NOT EXISTS `doorscreator_doors` (
	`id` INT(11) NOT NULL AUTO_INCREMENT,
	`label` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
	`doors` LONGTEXT NOT NULL COLLATE 'utf8mb4_bin',
	`default_state` TINYINT(4) NOT NULL DEFAULT '0',
	`icon_coords` LONGTEXT NOT NULL COLLATE 'utf8mb4_general_ci',
	`max_distance` INT(11) NOT NULL,
	`allowed_jobs` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	`allowed_gangs` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	`required_item` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	`required_item_remove_on_use` TINYINT(4) NOT NULL DEFAULT 0 COLLATE 'utf8mb4_bin',
	`requires_job_and_item` INT(11) NOT NULL DEFAULT '0',
	`required_code` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	`auto_closure_seconds` INT(11) NULL DEFAULT NULL,
	`parent_building` INT(11) NULL DEFAULT NULL,
	`is_sliding` INT(11) NOT NULL DEFAULT '0',
	`automatic_rate` FLOAT NULL DEFAULT NULL,
	`automatic_distance` FLOAT NULL DEFAULT NULL,
	`requires_identifier` INT(11) NOT NULL DEFAULT '0',
	`allowed_identifiers` LONGTEXT NOT NULL COLLATE 'utf8mb4_bin',
	`vault` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	`can_be_lockpicked` INT(11) NOT NULL DEFAULT '1',
	`alert_police_on_lockpick` INT(11) NOT NULL DEFAULT '0',
	`shop_id` INT(11) NULL DEFAULT NULL,
	`display_icon` TINYINT(4) NOT NULL DEFAULT '1',
	`sounds_data` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
	`time_rules` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
	PRIMARY KEY (`id`) USING BTREE,
	INDEX `id` (`id`) USING BTREE
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB;