-- https://www.phpmyadmin.net/
--




--
-- Database: `bid2rent`
--

-- --------------------------------------------------------

--
-- Table structure for table `amenities`
--

CREATE TABLE `amenities` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `icon_class` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sort_order` int(11) NOT NULL,
  `amenity_status_id` int(11) NOT NULL,
  `property_count` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `amenities`
--

INSERT INTO `amenities` (`id`, `created_at`, `updated_at`, `name`, `icon_class`, `sort_order`, `amenity_status_id`, `property_count`) VALUES
(1, '2017-12-06 09:55:08', '2017-12-06 10:44:53', 'Washer/Dryer In Unit', 'icon-washer', 1, 1, 1),
(2, '2017-12-06 09:55:08', '2017-12-08 02:45:03', 'Pool', 'icon-pool', 2, 1, 2),
(3, '2017-12-06 09:55:08', '2017-12-08 02:45:03', 'Gym', 'icon-gym', 3, 1, 1),
(4, '2017-12-06 09:55:08', '2017-12-08 02:45:03', 'Elevator', 'icon-elevator', 4, 1, 1),
(5, '2017-12-06 09:55:08', '2017-12-08 02:45:03', 'Parking Spot', 'icon-parking-spot', 5, 1, 1),
(6, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Fireplace', 'icon-fireplace', 6, 1, 0),
(7, '2017-12-06 09:55:08', '2017-12-08 02:45:03', 'Air Conditioning', 'icon-air-conditioning', 7, 1, 1),
(8, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Doorman', 'icon-doorman', 8, 1, 0),
(9, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Dishwasher', 'icon-dishwasher', 9, 1, 0),
(10, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Deck', 'icon-deck', 10, 1, 0),
(11, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Storage', 'icon-storage', 11, 1, 0),
(12, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Wheelchair Accessible', 'icon-wheelchair', 12, 1, 0),
(13, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Hardwood Floors', 'icon-hardwood', 13, 1, 0),
(14, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Garden', 'icon-garden', 14, 1, 0),
(15, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Balcony', 'icon-balcony', 15, 1, 0),
(16, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Furnished', 'icon-furnished', 16, 1, 0),
(17, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'View', 'icon-view', 17, 1, 0),
(18, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Student Friendly', 'icon-student', 18, 1, 0),
(19, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'High Rise', 'icon-high-rise', 19, 1, 0),
(20, '2017-12-06 09:55:08', '2017-12-06 09:55:08', 'Utilities Included', 'icon-utilities', 20, 1, 0);

-- --------------------------------------------------------

--
-- Table structure for table `amenity_property`
--

CREATE TABLE `amenity_property` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `amenity_id` int(11) NOT NULL,
  `property_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `amenity_property`
--

INSERT INTO `amenity_property` (`id`, `created_at`, `updated_at`, `amenity_id`, `property_id`) VALUES
(1, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 2, 1),
(2, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 3, 1),
(3, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 4, 1),
(4, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 5, 1),
(5, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 7, 1),
(6, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 14, 1),
(7, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 16, 1),
(8, '2017-11-28 04:57:00', '2017-11-28 04:57:00', 18, 5),
(9, '2017-11-28 05:12:48', '2017-11-28 05:12:48', 1, 6),
(10, '2017-11-28 05:12:48', '2017-11-28 05:12:48', 2, 6),
(11, '2017-11-28 05:12:48', '2017-11-28 05:12:48', 3, 6),
(12, '2017-11-28 05:12:48', '2017-11-28 05:12:48', 4, 6),
(13, '2017-11-28 05:12:48', '2017-11-28 05:12:48', 5, 6),
(14, '2017-11-28 05:12:48', '2017-11-28 05:12:48', 8, 6),
(15, '2017-11-29 07:50:31', '2017-11-29 07:50:31', 1, 7),
(16, '2017-11-30 10:11:59', '2017-11-30 10:11:59', 6, 8),
(17, '2017-11-30 10:11:59', '2017-11-30 10:11:59', 7, 8),
(18, '2017-11-30 10:11:59', '2017-11-30 10:11:59', 8, 8),
(19, '2017-12-01 06:42:50', '2017-12-01 06:42:50', 1, 9),
(20, '2017-12-01 06:42:50', '2017-12-01 06:42:50', 2, 9),
(21, '2017-12-01 06:42:50', '2017-12-01 06:42:50', 3, 9),
(22, '2017-12-01 06:42:51', '2017-12-01 06:42:51', 4, 9),
(23, '2017-12-01 06:42:51', '2017-12-01 06:42:51', 5, 9),
(24, '2017-12-06 10:44:53', '2017-12-06 10:44:53', 1, 10),
(25, '2017-12-06 10:44:53', '2017-12-06 10:44:53', 2, 10),
(26, '2017-12-08 02:45:03', '2017-12-08 02:45:03', 2, 11),
(27, '2017-12-08 02:45:03', '2017-12-08 02:45:03', 3, 11),
(28, '2017-12-08 02:45:03', '2017-12-08 02:45:03', 4, 11),
(29, '2017-12-08 02:45:03', '2017-12-08 02:45:03', 5, 11),
(30, '2017-12-08 02:45:03', '2017-12-08 02:45:03', 7, 11);

-- --------------------------------------------------------

--
-- Table structure for table `amenity_statuses`
--

CREATE TABLE `amenity_statuses` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amenity_count` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `amenity_statuses`
--

INSERT INTO `amenity_statuses` (`id`, `created_at`, `updated_at`, `name`, `amenity_count`) VALUES
(1, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Active', 0),
(2, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Inactive', 0),
(3, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Suspended', 0),
(4, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Expired', 0),
(5, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Closed', 0);

-- --------------------------------------------------------

--
-- Table structure for table `app_codes`
--

CREATE TABLE `app_codes` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `app_code_status_id` int(11) NOT NULL,
  `app_code_category_id` int(11) NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sort_order` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_codes`
--

INSERT INTO `app_codes` (`id`, `created_at`, `updated_at`, `app_code_status_id`, `app_code_category_id`, `name`, `sort_order`) VALUES
(1, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 1, 'Abu Dhabi', 1),
(2, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 1, 'Ajman', 2),
(3, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 1, 'Dubai', 3),
(4, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 1, 'Fujairah', 4),
(5, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 1, 'Ras al-Khaimah', 5),
(6, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 1, 'Sharjah', 6),
(7, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 1, 'Umm al-Quwain', 7),
(8, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 2, 'Apartment', 1),
(9, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 2, 'Villa', 2),
(10, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 2, 'Townhouse', 3),
(11, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 2, 'Penthouse', 4),
(12, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 2, 'Duplex', 5),
(13, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 3, 'Leave the keys with the building security', 1),
(14, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 3, 'Leave the apartment door unlocked', 2),
(15, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 3, 'Not provide an option to view the property', 3),
(16, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 4, '0', 1),
(17, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 4, '1', 2),
(18, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 4, '2', 3),
(19, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 4, '3', 4),
(20, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 4, '4', 5),
(21, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 4, '5', 6),
(22, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 4, '6', 7),
(23, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 4, '7', 8),
(24, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 4, '8', 9),
(25, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 4, '9+', 10),
(26, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 5, '0', 1),
(27, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 5, '1', 2),
(28, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 5, '2', 3),
(29, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 5, '3', 4),
(30, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 5, '4', 5),
(31, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 5, '5', 6),
(32, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 5, '6', 7),
(33, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 5, '7', 8),
(34, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 5, '8', 9),
(35, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 5, '9+', 10),
(36, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 6, 'Student', 1),
(37, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 6, 'Employed', 2),
(38, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 6, 'Self-employed', 3),
(39, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 6, 'Unemployed', 4),
(40, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 6, 'Entrepreneur', 5),
(41, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 7, 'Public', 1),
(42, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 7, 'Private', 2),
(43, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 8, 'High', 1),
(44, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 8, 'Medium', 2),
(45, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 8, 'Low', 3),
(46, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 9, 'New', 1),
(47, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 9, 'Hold', 2),
(48, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 9, 'Selected', 3),
(49, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 9, 'Rejected', 4),
(50, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 9, 'Commission Pending', 5),
(51, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 9, 'Commission Paid', 6),
(52, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 9, 'Pending Documents', 7),
(53, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 9, 'Contract inprogress', 8),
(54, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 1, 9, 'Completed', 9);

-- --------------------------------------------------------

--
-- Table structure for table `app_code_categories`
--

CREATE TABLE `app_code_categories` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `category_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `sort_order` int(11) NOT NULL,
  `app_code_count` int(11) NOT NULL,
  `app_code_category_status_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_code_categories`
--

INSERT INTO `app_code_categories` (`id`, `created_at`, `updated_at`, `name`, `category_code`, `description`, `sort_order`, `app_code_count`, `app_code_category_status_id`) VALUES
(1, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Emirates', 'emirates', 'Lorem ipsum dummy test', 1, 0, 1),
(2, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Property Type', 'property_type', 'Lorem ipsum dummy test', 1, 0, 1),
(3, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Viewing Options', 'viewing_option', 'Lorem ipsum dummy test', 1, 0, 1),
(4, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Bed Room Sizes', 'bed_room_size', 'Lorem ipsum dummy test', 1, 0, 1),
(5, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Wash Room Sizes', 'wash_room_size', 'Lorem ipsum dummy test', 1, 0, 1),
(6, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Employment Statuses', 'employment_status', 'Lorem ipsum dummy test', 1, 0, 1),
(7, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Landlord note vissibility statuses', 'landlord_note_vissibility_status', 'Lorem ipsum dummy test', 1, 0, 1),
(8, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Bid priority', 'bid_priority', 'Lorem ipsum dummy test', 1, 0, 1),
(9, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Bid Statuses', 'bid_status', 'Lorem ipsum dummy test', 1, 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `app_code_statuses`
--

CREATE TABLE `app_code_statuses` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `app_code_count` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_code_statuses`
--

INSERT INTO `app_code_statuses` (`id`, `created_at`, `updated_at`, `name`, `app_code_count`) VALUES
(1, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Active', 0),
(2, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Inactive', 0);

-- --------------------------------------------------------

--
-- Table structure for table `biddings`
--

CREATE TABLE `biddings` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `property_id` bigint(20) NOT NULL,
  `tenant_id` bigint(20) NOT NULL,
  `propose_rent` decimal(8,2) NOT NULL,
  `move_in_date` date NOT NULL,
  `tenant_note` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `employment_status_id` int(11) NOT NULL,
  `landlord_note` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `landlord_note_visibility_status_id` int(11) NOT NULL,
  `bid_status_id` int(11) NOT NULL,
  `bid_priority_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `biddings`
--

INSERT INTO `biddings` (`id`, `created_at`, `updated_at`, `property_id`, `tenant_id`, `propose_rent`, `move_in_date`, `tenant_note`, `employment_status_id`, `landlord_note`, `landlord_note_visibility_status_id`, `bid_status_id`, `bid_priority_id`) VALUES
(1, '2017-11-27 06:35:56', '2017-11-27 06:35:56', 1, 7, '22000.00', '2018-01-05', 'Test note', 37, '', 0, 46, 45),
(2, '2017-11-27 08:23:58', '2017-11-27 08:23:58', 1, 8, '24000.00', '2018-01-02', 'Second Bid', 38, '', 0, 46, 45),
(3, '2017-11-27 08:35:28', '2017-11-27 08:35:28', 1, 9, '23000.00', '2018-01-10', 'Third Bid', 39, '', 0, 46, 45),
(4, '2017-11-28 05:20:43', '2017-11-28 05:20:43', 6, 3, '16000.00', '2017-12-25', 'First Bote', 37, '', 0, 46, 45),
(5, '2017-12-08 03:17:34', '2017-12-08 05:31:35', 11, 3, '11000.00', '2018-01-05', 'First Note', 37, '', 0, 47, 45),
(6, '2017-12-08 03:27:15', '2017-12-08 05:31:35', 11, 8, '11500.00', '2018-01-03', 'Vicky User Note', 38, '', 0, 50, 45);

-- --------------------------------------------------------

--
-- Table structure for table `medias`
--

CREATE TABLE `medias` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `model_id` int(11) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `path` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medias`
--

INSERT INTO `medias` (`id`, `created_at`, `updated_at`, `model_id`, `parent_id`, `path`) VALUES
(1, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 1, 1, 'media/tenant/1/Image_980.jpg'),
(2, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 1, 1, 'media/tenant/1/Image_27005.jpg'),
(3, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 1, 1, 'media/tenant/1/Image_12402.jpg'),
(4, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 1, 1, 'media/tenant/1/Image_3267.jpg'),
(5, '2017-11-28 04:57:00', '2017-11-28 04:57:00', 1, 5, 'media/tenant/1/Image_31248.jpg'),
(6, '2017-11-28 04:57:00', '2017-11-28 04:57:00', 1, 5, 'media/tenant/1/Image_2313.jpg'),
(7, '2017-11-28 04:57:00', '2017-11-28 04:57:00', 1, 5, 'media/tenant/1/Image_18190.jpg'),
(8, '2017-11-28 04:57:00', '2017-11-28 04:57:00', 1, 5, 'media/tenant/1/Image_13615.jpg'),
(9, '2017-11-28 05:12:48', '2017-11-28 05:12:48', 1, 6, 'media/tenant/1/Image_10044.jpg'),
(10, '2017-11-28 05:12:48', '2017-11-28 05:12:48', 1, 6, 'media/tenant/1/Image_11461.jpg'),
(11, '2017-11-29 07:50:31', '2017-11-29 07:50:31', 1, 7, 'media/tenant/1/Image_31822.jpg'),
(12, '2017-11-30 10:11:59', '2017-11-30 10:11:59', 1, 8, 'media/tenant/1/Image_13353.jpg'),
(13, '2017-12-01 06:42:51', '2017-12-01 06:42:51', 1, 9, 'media/tenant/1/Image_25012.jpg'),
(14, '2017-12-06 10:44:53', '2017-12-06 10:44:53', 1, 10, 'media/tenant/1/Image_1806.jpg'),
(15, '2017-12-08 02:45:03', '2017-12-08 02:45:03', 1, 11, 'media/tenant/7/Image_23549.jpg'),
(16, '2017-12-08 02:45:03', '2017-12-08 02:45:03', 1, 11, 'media/tenant/7/Image_28914.jpg'),
(17, '2017-12-08 02:45:03', '2017-12-08 02:45:03', 1, 11, 'media/tenant/7/Image_835.jpg');

-- --------------------------------------------------------

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(67, '2017_11_18_112919_create_property_table', 1),
(68, '2017_11_18_113013_create_amenities_table', 1),
(69, '2017_11_18_115541_create_amenity_property_table', 1),
(70, '2017_11_18_115701_create_amenity_status_table', 1),
(71, '2017_11_18_121357_create_property_status_table', 1),
(72, '2017_11_18_145903_create_policy_types', 1),
(73, '2017_11_18_145925_create_policies', 1),
(74, '2017_11_19_175409_create_app_code_categories', 1),
(75, '2017_11_19_181338_create_app_codes', 1),
(76, '2017_11_19_181612_create_app_code_statuses', 1),
(77, '2017_11_20_085637_create_users_table', 1),
(78, '2017_11_20_091213_create_user_types_table', 1),
(79, '2017_11_21_092831_create_medias_table', 1),
(80, '2017_11_24_140631_create_bidding_table', 1),
(81, '2017_11_25_122451_update_bidding_table', 1),
(82, '2017_11_25_130941_update_bidding_priority_id_table', 1),
(83, '2017_12_06_083143_create_transactions_table', 2),
(84, '2017_12_06_084927_create_payment_statuses_table', 3),
(85, '2017_12_07_085043_create_sms_reports_table', 4),
(86, '2017_12_07_131727_update_users_table', 5);

-- --------------------------------------------------------

--
-- Table structure for table `payment_statuses`
--

CREATE TABLE `payment_statuses` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_statuses`
--

INSERT INTO `payment_statuses` (`id`, `created_at`, `updated_at`, `status`, `code`) VALUES
(1, '2017-12-06 03:30:15', '2017-12-06 03:30:15', 'Payment Pending', 'payment_pending'),
(2, '2017-12-06 03:30:15', '2017-12-06 03:30:15', 'Payment Failed', 'payment_failed'),
(3, '2017-12-06 03:30:15', '2017-12-06 03:30:15', 'Payment Completed', 'payment_completed'),
(4, '2017-12-06 03:30:15', '2017-12-06 03:30:15', 'Expired', 'expired'),
(5, '2017-12-06 03:30:15', '2017-12-06 03:30:15', 'Payment Cancelled', 'payment_cancelled');

-- --------------------------------------------------------

--
-- Table structure for table `policies`
--

CREATE TABLE `policies` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci COMMENT 'Helper Text',
  `policy_type_id` int(11) NOT NULL,
  `policy_status_id` int(11) NOT NULL COMMENT '1=Active;0=Inactive',
  `property_count` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `policies`
--

INSERT INTO `policies` (`id`, `created_at`, `updated_at`, `name`, `description`, `policy_type_id`, `policy_status_id`, `property_count`) VALUES
(1, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'No dogs', NULL, 1, 1, 0),
(2, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'No cats', NULL, 1, 1, 0),
(3, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Cleaning at tenants risk', NULL, 1, 1, 0),
(4, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'No more drilling on walls', NULL, 2, 1, 0),
(5, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'No wall papers allowed', NULL, 2, 1, 0);

-- --------------------------------------------------------

--
-- Table structure for table `policy_types`
--

CREATE TABLE `policy_types` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Helper Text',
  `is_additional_deposit_required` tinyint(4) NOT NULL COMMENT '1=Additional deposit required; 0=Deposit Not required'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `policy_types`
--

INSERT INTO `policy_types` (`id`, `created_at`, `updated_at`, `name`, `description`, `is_additional_deposit_required`) VALUES
(1, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Pet policy', 'Something about pet animals', 0),
(2, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Maintenence policy', 'Something about Maintenence policy', 0),
(3, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Renovation policy', 'Something about pet policy', 0);

-- --------------------------------------------------------

--
-- Table structure for table `properties`
--

CREATE TABLE `properties` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Property Name',
  `address` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `unit` int(11) NOT NULL,
  `area` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `latitude` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `longitude` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `monthly_rent` double(10,2) NOT NULL COMMENT 'Monthly Rent',
  `security_deposit` double(10,2) NOT NULL COMMENT 'One time deposit',
  `total_price` double(10,2) NOT NULL COMMENT 'Sum of monthly rent, Security Deposit and additional deposit if any',
  `other_policies` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `available_from` date NOT NULL,
  `emirate_id` bigint(20) NOT NULL,
  `property_type_id` bigint(20) NOT NULL,
  `vieweing_option_id` bigint(20) NOT NULL,
  `bedroom_size_id` bigint(20) NOT NULL,
  `washroom_size_id` bigint(20) NOT NULL,
  `landlord_id` bigint(20) NOT NULL,
  `bid_count` int(11) NOT NULL,
  `property_status_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `properties`
--

INSERT INTO `properties` (`id`, `created_at`, `updated_at`, `name`, `address`, `unit`, `area`, `description`, `latitude`, `longitude`, `monthly_rent`, `security_deposit`, `total_price`, `other_policies`, `available_from`, `emirate_id`, `property_type_id`, `vieweing_option_id`, `bedroom_size_id`, `washroom_size_id`, `landlord_id`, `bid_count`, `property_status_id`) VALUES
(1, '2017-11-27 04:32:35', '2017-11-27 04:32:35', 'Estate Valley', 'Marina Mall - Al Marina - Abu Dhabi', 1105, '1500', 'Best view property', '24.4760586', '54.321514200000024', 25000.00, 5000.00, 30000.00, '', '2018-02-01', 3, 8, 14, 19, 29, 1, 0, 1),
(5, '2017-11-28 04:57:00', '2017-11-28 04:57:00', 'Raheja Property', 'Mall of the Emirates - Al Barsha - Dubai', 1123, '1800', 'All facilities are there', '25.1212373', '55.20037260000004', 35000.00, 10000.00, 45000.00, '', '2017-12-01', 3, 12, 13, 19, 30, 1, 0, 1),
(6, '2017-11-28 05:12:47', '2017-11-28 05:20:43', 'Antariksh', 'Trade Centre - Dubai', 1234, '1600', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.', '25.2223231', '55.283941599999935', 18000.00, 12000.00, 30000.00, '', '2017-12-15', 3, 9, 15, 21, 32, 19, 1, 1),
(7, '2017-11-29 07:50:31', '2017-11-29 07:50:31', 'abc', '334 Al Wahda Street - Sharjah', 23, '12', 'dfddff', '25.071469007208666', '55.14073471271968', 212.00, 1212.00, 1424.00, '', '2017-11-30', 2, 11, 13, 18, 28, 1, 0, 1),
(8, '2017-11-30 10:11:59', '2017-11-30 10:11:59', 'Saket', 'Dubai Marina Walk - Emaar - Dubai', 123, '1223', 'xdgdfxg', '25.081963958874944', '55.14399627888179', 25000.00, 5000.00, 30000.00, '', '2017-12-20', 2, 8, 14, 17, 28, 1, 0, 1),
(9, '2017-12-01 06:42:50', '2017-12-01 06:42:50', 'Vally View Estate', 'Al Bandar - Al Raha Beach - Abu Dhabi', 123, '2323', 'Good property', '24.4511944', '54.599557199999936', 1200.00, 100.00, 1300.00, '', '2017-12-27', 1, 11, 14, 18, 28, 1, 0, 1),
(10, '2017-12-06 10:44:53', '2017-12-06 10:44:53', 't', '54 Sheikh Zayed Road - Dubai', 45, '4656', 'hnj', '25.2165883197085', '55.27746371970852', 56.00, 656.00, 712.00, '', '2017-12-19', 2, 8, 13, 17, 27, 1, 0, 1),
(11, '2017-12-08 02:45:03', '2017-12-08 03:27:16', 'Vatika', 'Trade Centre - Dubai', 1123, '2000', 'Proper sunlight park games', '25.2018929', '55.26928769999995', 12000.00, 3000.00, 15000.00, '', '2018-01-01', 3, 10, 14, 20, 30, 7, 2, 1);

-- --------------------------------------------------------

--
-- Table structure for table `property_statuses`
--

CREATE TABLE `property_statuses` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `property_count` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `property_statuses`
--

INSERT INTO `property_statuses` (`id`, `created_at`, `updated_at`, `name`, `property_count`) VALUES
(1, '2017-11-27 03:26:11', '2017-12-08 02:45:03', 'Active', 11),
(2, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Inactive', 0),
(3, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Suspended', 0),
(4, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Expired', 0),
(5, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Closed', 0);

-- --------------------------------------------------------

--
-- Table structure for table `sms_reports`
--

CREATE TABLE `sms_reports` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `user_id` int(11) NOT NULL,
  `recipient` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `message_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sms_reports`
--

INSERT INTO `sms_reports` (`id`, `created_at`, `updated_at`, `user_id`, `recipient`, `message`, `message_id`) VALUES
(1, '2017-12-07 04:21:06', '2017-12-07 04:21:06', 51, '971501234567', 'Please use 832980 as OTP for verifying your mobile number', 32655806),
(2, '2017-12-07 04:21:42', '2017-12-07 04:21:42', 52, '971501234567', 'Please use 585485 as OTP for verifying your mobile number', 32655808),
(3, '2017-12-07 04:30:15', '2017-12-07 04:30:15', 52, '971501234567', 'Please use 585485 as OTP for verifying your mobile number', 32655862),
(4, '2017-12-07 05:49:44', '2017-12-07 05:49:44', 53, '971501234567', 'Please use 318957 as OTP for verifying your mobile number', 32657073),
(5, '2017-12-07 09:27:11', '2017-12-07 09:27:11', 54, '971501234567', 'Please use 816473 as OTP for verifying your mobile number', 32675069),
(6, '2017-12-07 09:32:12', '2017-12-07 09:32:12', 54, '971501234567', 'Please use 816473 as OTP for verifying your mobile number', 32675301),
(7, '2017-12-07 10:04:14', '2017-12-07 10:04:14', 55, '971501234567', 'Please use 615780 as OTP for verifying your mobile number', 32676441),
(8, '2017-12-07 10:09:12', '2017-12-07 10:09:12', 56, '971501234567', 'Please use 534729 as OTP for verifying your mobile number', 32676634),
(9, '2017-12-07 10:09:16', '2017-12-07 10:09:16', 56, '971501234567', 'Please use 293276 as OTP for verifying your mobile number', 32676636),
(10, '2017-12-07 10:09:43', '2017-12-07 10:09:43', 56, '971501234567', 'Please use 293276 as OTP for verifying your mobile number', 32676655),
(11, '2017-12-07 10:09:49', '2017-12-07 10:09:49', 56, '971501234567', 'Please use 727264 as OTP for verifying your mobile number', 32676658);

-- --------------------------------------------------------

--
-- Table structure for table `transactions`
--

CREATE TABLE `transactions` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `model_id` int(11) NOT NULL,
  `amount` decimal(8,2) NOT NULL,
  `payment_method_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_status_id` int(11) NOT NULL,
  `reference_id` bigint(20) NOT NULL,
  `user_id` int(11) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `custom_1` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `custom_2` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `custom_3` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transactions`
--

INSERT INTO `transactions` (`id`, `created_at`, `updated_at`, `model_id`, `amount`, `payment_method_code`, `payment_status_id`, `reference_id`, `user_id`, `parent_id`, `custom_1`, `custom_2`, `custom_3`) VALUES
(1, NULL, NULL, 2, '110.00', '', 1, 0, 3, 5, '', '', '');

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `firstname` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'First Name',
  `lastname` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Last Name',
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Email',
  `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `country_code` int(11) NOT NULL,
  `mobile` bigint(20) NOT NULL,
  `is_mobile_verified` int(11) NOT NULL,
  `user_type_id` int(11) NOT NULL,
  `status` int(11) NOT NULL,
  `otp` int(11) NOT NULL,
  `document` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Uploaded Document Name',
  `dob` date DEFAULT NULL,
  `profile_pic` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `short_bio` text COLLATE utf8mb4_unicode_ci,
  `facebook_profile` text COLLATE utf8mb4_unicode_ci,
  `linkedin_profile` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `created_at`, `updated_at`, `firstname`, `lastname`, `email`, `password`, `country_code`, `mobile`, `is_mobile_verified`, `user_type_id`, `status`, `otp`, `document`, `dob`, `profile_pic`, `short_bio`, `facebook_profile`, `linkedin_profile`) VALUES
(1, '2017-11-27 04:13:47', '2017-12-07 09:07:30', 'John', 'Smith', 'john@bid2rent.ae', '$2y$10$VRGRXeYnHkrATJGDZ3d1YOZjUWaGY.34XXEjv.YakJgiFpfo1jSbW', 971, 501234567, 1, 2, 1, 447991, '', '0000-00-00', '', '', '', ''),
(3, '2017-11-27 04:16:35', '2017-11-27 04:16:37', 'Neo', 'Matrix', 'neo@bid2rent.ae', '$2y$10$CXmGqPB6KhXytAP.ByPVbOtjRxxWfERWvxtW44UF1ZKA.sl8HNy12', 971, 501234567, 1, 3, 1, 431677, 'media/tenant/6/501234567_1511764088.pdf', '0000-00-00', '', '', '', ''),
(7, '2017-11-27 04:59:22', '2017-12-08 03:06:04', 'Jessica', 'Babajan', 'jes@bid2rent.ae', '$2y$10$fPn8rLCK9o0HudB5MZpPxe8oRHNyXRmJqrHVB7/fqrof0cbExBShS', 971, 501234567, 1, 2, 1, 676947, 'media/tenant/7/501234567_1511764162.pdf', NULL, 'media/landlord/7/501234567_1512708158.jpg', NULL, NULL, NULL),
(8, '2017-11-27 08:03:56', '2017-11-27 08:03:57', 'Vicky', 'Romson', 'vicky@bid2rent.ae', '$2y$10$hQNVtjU2URI8V6DyMlx8quDpwfcdSNfiBKK999jQ3brpHwzsXnTrW', 971, 501234567, 1, 3, 1, 914004, 'media/tenant/8/501234567_1511775236.pdf', '0000-00-00', '', '', '', ''),
(9, '2017-11-27 08:27:04', '2017-11-27 08:27:06', 'Prashant', 'Saini', 'prashant@bid2rent.ae', '$2y$10$S22QqdvjJBrRx/cwP8/d5.Lp14TAgOe7M6De049WGszPryJLTnqUC', 971, 523654123, 1, 3, 1, 763024, 'media/tenant/9/523654123_1511776624.pdf', '0000-00-00', '', '', '', ''),
(10, '2017-11-27 09:32:20', '2017-11-27 09:32:21', 'Alex', 'Smith', 'alex@bid2rent.ae', '$2y$10$KyiY2dg7bJ6tCyXl6Jx.aO6o9OJSD6nBW89aEPyoyO5wZfviN2ujm', 971, 563214567, 1, 3, 1, 194674, 'media/tenant/10/563214567_1511780540.jpg', '0000-00-00', '', '', '', ''),
(14, '2017-11-28 03:58:14', '2017-11-28 03:58:14', 'sdf', 'rt', 'trt@we.ik', '$2y$10$47H/FAjy9JOQygf47Uecy.po6E0XeSBZAvi8U2fSlXbhyA64kl1qG', 971, 501234567, 0, 2, 1, 780328, '', '0000-00-00', '', '', '', ''),
(15, '2017-11-28 04:00:55', '2017-11-28 04:00:57', 'er', 're', 'q@q.uk', '$2y$10$HNJlfEPuAOsnmWF.kRpIfOJ7goEvxvtVlzrcq3rx6OzMoyGqV2lmq', 971, 501234567, 1, 2, 1, 823806, '', '0000-00-00', '', '', '', ''),
(16, '2017-11-28 07:31:49', '2017-11-28 07:31:54', 'a', 'a', 'a@a.no', '$2y$10$0OZ/mMGGhFw3rwtiNe8GVeSfX5oX4EHaH2wg9mL/cDFO896LXeNf.', 971, 501234567, 1, 2, 1, 886703, '', '0000-00-00', '', '', '', ''),
(17, '2017-11-28 07:57:41', '2017-11-28 07:57:42', 'hjh', 'dsd', 's@s.com', '$2y$10$8cl1UY/.DV/YtF9vZ9iuCOTDxiNVYn1xIfKi99r2mCxBvK7mTa5Xu', 971, 501234567, 1, 3, 1, 465185, 'media/tenant/17/501234567_1511861261.pdf', '0000-00-00', '', '', '', ''),
(18, '2017-11-28 08:08:12', '2017-11-28 08:08:18', 'as', 'sas', 'r@r.no', '$2y$10$pH3ptjVkQpXaPlYJmJcbZu1dgBHHQt.O1WkIAo60KPnI1huj9ytm.', 971, 501234567, 1, 2, 1, 869290, '', '0000-00-00', '', '', '', ''),
(19, '2017-11-28 09:48:54', '2017-11-28 09:51:36', 'Edison', 'Ronz', 'edison@bid2rent.ae', '$2y$10$XyGFUczUVWwh6NPB8dBCcuY1.7qsgXfB/DP.WgG3bp7RHVs3CeDzK', 971, 563214568, 1, 2, 1, 242163, '', '0000-00-00', '', '', '', ''),
(21, '2017-12-01 02:50:08', '2017-12-01 02:50:08', 'fh', 'fgh', 'fdgd@dgd.ok', '$2y$10$QLLITogch6OC0HnrP/AwzukZHP8fqWA3rVhEcxzHjYQgoS14jyW4O', 971, 509164082, 0, 2, 1, 124087, '', '0000-00-00', '', '', '', ''),
(26, '2017-12-01 02:59:41', '2017-12-01 02:59:41', 'fd', 'dsf', 'sfd@dfgdfg.ok', '$2y$10$9fuG60cSCUpv/bmox1o3Iu438sTlvhjIXQhyTeAdo0pw4QFO8g3W6', 971, 509164082, 0, 2, 1, 953610, '', '0000-00-00', '', '', '', ''),
(27, '2017-12-01 04:18:39', '2017-12-01 04:18:45', 'James', 'Watson', 'james@bid2rent.ae', '$2y$10$TcKHqIH70gMYz7Epk2Rm9.BZOLfGdSFWwT/llo4nWbwUUAd78LdrG', 971, 501234567, 1, 3, 1, 428875, 'media/tenant/27/501234567_1512107319.pdf', '0000-00-00', '', '', '', ''),
(28, '2017-12-01 04:20:59', '2017-12-01 04:21:01', 'Ron', 'Wisley', 'ron@bid2rent.ae', '$2y$10$p4Ke8bYHJ1v3IUIIBFWR1.wprB.ixws8jHJb2l72rJZdqxVF0FEhm', 971, 501234567, 1, 2, 1, 985360, '', '0000-00-00', '', '', '', ''),
(30, '2017-12-07 03:41:12', '2017-12-07 03:41:12', 'Daisy', 'Nagpal', 'daisy@bid2rent.ae', '$2y$10$.mkW12Heaqdyr1X0AZmkjuSRYgyvxzzG2QfU1QObCHk1/mxfqKR8e', 971, 565920474, 0, 2, 1, 148669, '', '0000-00-00', '', '', '', ''),
(46, '2017-12-07 04:03:55', '2017-12-07 04:06:38', 'wt', 'wte', 'd@d.ok', '$2y$10$79zL.8S.XfroeVlMtKouWOJc.KE4ZN0hduFLmTQSO1br3Ee0RX556', 971, 565920474, 0, 2, 1, 865417, '', '0000-00-00', '', '', '', ''),
(51, '2017-12-07 04:21:04', '2017-12-07 04:21:04', 'w4et', 'te', 'er@g.ok', '$2y$10$a62o0cSsxXFBnP96ZeXShuVy7PJlJ8zlVS8y0NZwUiVyzPeCExety', 971, 501234567, 0, 2, 1, 832980, '', '0000-00-00', '', '', '', ''),
(52, '2017-12-07 04:21:41', '2017-12-07 04:30:35', 'er', 'ewr', 'arswer@weraf.ok', '$2y$10$QpR2H/ykXhtrrzSVZ6TcZO5ZaQaPKp7d6EObrsfVZIB.nxgX3nWo2', 971, 501234567, 1, 2, 1, 585485, '', '0000-00-00', '', '', '', ''),
(53, '2017-12-07 05:49:42', '2017-12-07 05:57:27', 'Nikita', 'Gupta', 'earth.nikita149@gmail.com', '$2y$10$kYqxw5n2hyn4mlMdpNvflOJGPsP6aWjqdPQmMnYQRMcBgW4l7hlgq', 971, 501234567, 1, 2, 1, 318957, '', '0000-00-00', '', '', '', ''),
(54, '2017-12-07 09:27:09', '2017-12-07 09:32:27', 'ffdg', 'fdg', 'dsf@f.ok', '$2y$10$8sfK3bQaw5HFB19dIi6FqO2AMWRLHTpBL8XfzXR1pWvnLIJsP9DFe', 971, 501234567, 1, 2, 1, 816473, '', NULL, NULL, NULL, NULL, NULL),
(55, '2017-12-07 10:04:13', '2017-12-07 10:04:13', 'dsf', 'dsf', 'dfsdf@sdfsdf.ok', '$2y$10$mGw3Hh19PJVu3s148XIImOfZFZ.i0F1fPe8yk9O/SOfk3PJmY87pu', 971, 501234567, 0, 2, 1, 615780, '', NULL, NULL, NULL, NULL, NULL),
(56, '2017-12-07 10:09:11', '2017-12-07 10:09:48', 'fgfdg', 'fdgfdg', 'sdfd@dfsf.ik', '$2y$10$ziJ1TpQOk.YUYgnH3BSshOsy4Mg9wRNCRSZQ0C10dHo6ebkdqRnVK', 971, 501234567, 0, 2, 1, 727264, '', NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `user_logins`
--

CREATE TABLE `user_logins` (
  `id` int(11) NOT NULL,
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `user_id` bigint(11) NOT NULL,
  `login_time` datetime NOT NULL,
  `logout_time` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `user_logins`
--

INSERT INTO `user_logins` (`id`, `created_at`, `modified_at`, `user_id`, `login_time`, `logout_time`) VALUES
(1, '2017-11-10 12:41:02', '2017-11-13 04:11:11', 37, '2017-11-13 04:11:11', NULL),
(2, '2017-11-21 12:56:51', '2017-12-07 11:19:11', 1, '2017-12-07 10:57:32', '2017-12-07 11:19:11'),
(3, '2017-11-21 15:58:29', '2017-11-24 11:53:07', 2, '2017-11-24 11:53:07', NULL),
(4, '2017-11-23 17:28:14', '2017-12-08 08:48:28', 3, '2017-12-08 08:46:28', '2017-12-08 08:48:28'),
(5, '2017-11-27 12:00:01', '2017-12-08 13:32:27', 7, '2017-12-08 13:13:45', '2017-12-08 13:32:27'),
(6, '2017-11-27 15:04:40', '2017-12-08 13:35:32', 8, '2017-12-08 13:35:32', '2017-12-08 08:57:18'),
(7, '2017-11-27 15:27:18', '2017-11-28 09:43:32', 9, '2017-11-28 09:43:19', '2017-11-28 09:43:32'),
(8, '2017-11-28 14:32:06', '2017-12-07 15:46:40', 16, '2017-12-07 15:46:34', '2017-12-07 15:46:40'),
(9, '2017-11-28 16:52:15', '2017-11-28 16:52:15', 19, '2017-11-28 15:22:15', NULL),
(10, '2017-12-01 11:57:32', '2017-12-01 10:30:14', 27, '2017-12-01 10:27:32', '2017-12-01 10:30:14'),
(11, '2017-12-07 11:30:52', '2017-12-07 10:00:55', 52, '2017-12-07 10:00:52', '2017-12-07 10:00:55'),
(12, '2017-12-07 16:32:44', '2017-12-07 15:05:27', 54, '2017-12-07 15:05:21', '2017-12-07 15:05:27');

-- --------------------------------------------------------

--
-- Table structure for table `user_types`
--

CREATE TABLE `user_types` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Name',
  `user_count` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_types`
--

INSERT INTO `user_types` (`id`, `created_at`, `updated_at`, `name`, `user_count`) VALUES
(1, '2017-11-27 03:26:11', '2017-11-27 03:26:11', 'Admin', 0),
(2, '2017-11-27 03:26:11', '2017-12-08 03:12:38', 'Property Owner', 45),
(3, '2017-11-27 03:26:11', '2017-12-01 04:18:39', 'Tenant', 3);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `amenities`
--
ALTER TABLE `amenities`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `amenity_property`
--
ALTER TABLE `amenity_property`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `amenity_statuses`
--
ALTER TABLE `amenity_statuses`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `app_codes`
--
ALTER TABLE `app_codes`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `app_code_categories`
--
ALTER TABLE `app_code_categories`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `app_code_statuses`
--
ALTER TABLE `app_code_statuses`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `biddings`
--
ALTER TABLE `biddings`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `medias`
--
ALTER TABLE `medias`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `payment_statuses`
--
ALTER TABLE `payment_statuses`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `policies`
--
ALTER TABLE `policies`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `policy_types`
--
ALTER TABLE `policy_types`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `properties`
--
ALTER TABLE `properties`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `property_statuses`
--
ALTER TABLE `property_statuses`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `sms_reports`
--
ALTER TABLE `sms_reports`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `transactions`
--
ALTER TABLE `transactions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_logins`
--
ALTER TABLE `user_logins`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_types`
--
ALTER TABLE `user_types`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `amenities`
--
ALTER TABLE `amenities`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
--
-- AUTO_INCREMENT for table `amenity_property`
--
ALTER TABLE `amenity_property`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;
--
-- AUTO_INCREMENT for table `amenity_statuses`
--
ALTER TABLE `amenity_statuses`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `app_codes`
--
ALTER TABLE `app_codes`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=55;
--
-- AUTO_INCREMENT for table `app_code_categories`
--
ALTER TABLE `app_code_categories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `app_code_statuses`
--
ALTER TABLE `app_code_statuses`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `biddings`
--
ALTER TABLE `biddings`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `medias`
--
ALTER TABLE `medias`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=87;
--
-- AUTO_INCREMENT for table `payment_statuses`
--
ALTER TABLE `payment_statuses`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `policies`
--
ALTER TABLE `policies`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `policy_types`
--
ALTER TABLE `policy_types`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `properties`
--
ALTER TABLE `properties`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `property_statuses`
--
ALTER TABLE `property_statuses`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `sms_reports`
--
ALTER TABLE `sms_reports`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `transactions`
--
ALTER TABLE `transactions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=57;
--
-- AUTO_INCREMENT for table `user_logins`
--
ALTER TABLE `user_logins`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `user_types`
--
ALTER TABLE `user_types`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
