<?php

namespace Database\Seeders;

use App\Models\Post;
use App\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @return void
     */
    public function run()
    {
        // User::factory()->has(Post::factory()->count(8),'posts')->count(50)->create();

        DB::insert("INSERT INTO `travel_agencies` (`id`, `uid`, `display_name`, `business_name`, `business_type`, `register_number`, `email`, `phone`, `chat_url`, `website_url`, `contact_person`, `contact_person_phone`, `image_url`, `background_image_url`, `description`, `tour_types`, `address`, `subdistrict_id`, `district_id`, `province_id`, `country_id`, `post_zip`, `latitude`, `longitude`, `google_map_place_url`, `has_domestic_tourism`, `has_international_tourism`, `rating`, `active`, `created_at`, `updated_at`) VALUES
        (1, 'QTs1ZAqEnLP2kUxO9af9fqv6x153', 'newgenventure', 'บริษัท นิวเจนเวนเจอร์ จำกัด', 'บริษัท', '1550900061641', 'newgenventure@gmail.com', '0959936194', 'http://m.me.com/newgenventure', 'http://www.newgenventure.com', 'ปิยรัตน์ ธีระธรรม', '0966565317', 'https://newgenventure.com/files/images/travel_agency_logo.jpg', 'https://cdn.pixabay.com/photo/2021/08/25/20/42/field-6574455__340.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', 'adventure, signtseeing', 'Lorem ipsum dolor sit amet, consectetur adipiscing', NULL, NULL, 43, 1, '55000', NULL, NULL, NULL, 1, 0, 0, 1, '2022-05-20 06:33:39', '2022-05-20 06:33:39'),
        (2, 'OLG4wfRBkfUmE8HzoJIcg67rg4q2', 'jirasinsupakij', 'บริษัท จิรสินศุภกิจ จำกัด', 'บริษัท', '0553544000163', NULL, NULL, NULL, NULL, NULL, NULL, 'https://newgenventure.com/files/images/travel_agency_logo.jpg', 'https://newgenventure.com/files/images/travel_agency_bg_2.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\r\n\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', 'adventuer, sightseeing', '15/7 หมู่ 5 ตำบลเชียงกลาง อำเภอเชียงกลาง จังหวัดน่าน', NULL, NULL, 43, 1, '55000', '18.8020736', '100.7990251', NULL, 1, 1, 4.9, 1, '2022-05-20 07:13:56', '2022-05-20 07:13:56'),
        (3, 'cJjzSUgSouXpT2KoY1BxBBafVku2', 'nanvana', 'บริษัท นันวานา กรุ๊ป จำกัด', 'บริษัท', '2550888804414', 'nanvana@gmail.com', '0966565317', 'http://m.me/newgenventure', NULL, NULL, NULL, 'https://newgenventure.com/files/images/travel_agency_logo.jpg', 'https://newgenventure.com/files/images/travel_agency_bg_3.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Nullam non nisi est sit amet facilisis magna etiam. Consequat nisl vel pretium lectus quam. Lacinia quis vel eros donec ac odio tempor orci dapibus. Pretium viverra suspendisse potenti nullam ac tortor vitae purus. Blandit turpis cursus in hac habitasse platea dictumst quisque sagittis. Magna eget est lorem ipsum. Arcu vitae elementum curabitur vitae nunc sed velit dignissim. Sagittis orci a scelerisque purus semper eget duis at. Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus suspendisse. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt tortor. Ultrices in iaculis nunc sed augue lacus viverra vitae. Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.\r\n\r\nIn ante metus dictum at tempor. Eget nulla facilisi etiam dignissim. Elit ut aliquam purus sit amet. A lacus vestibulum sed arcu non. Elementum curabitur vitae nunc sed velit dignissim sodales ut eu. Arcu cursus vitae congue mauris rhoncus aenean. Laoreet id donec ultrices tincidunt arcu non sodales neque. Velit ut tortor pretium viverra suspendisse potenti nullam ac. Lorem donec massa sapien faucibus et molestie ac feugiat. Pellentesque habitant morbi tristique senectus et netus et. Aliquam sem fringilla ut morbi tincidunt augue interdum velit. Dapibus ultrices in iaculis nunc. Ut morbi tincidunt augue interdum velit euismod in pellentesque massa. Sollicitudin aliquam ultrices sagittis orci a scelerisque purus semper. Nulla facilisi cras fermentum odio eu feugiat pretium nibh ipsum. Netus et malesuada fames ac turpis egestas. Pulvinar neque laoreet suspendisse interdum consectetur libero id faucibus nisl. Turpis egestas sed tempus urna et pharetra pharetra massa massa.', 'ท่องเที่ยวชุมชน, ท่องเที่ยวธรรมชาติ, กลุ่มครอบครัว, ท่องเที่ยวคู่รัก, ฮันนี่มูน', '15 หมู่ 5 ตำบลเชียงกลาง อำเภอเชียงกลาง จังหวัดน่าน', 25, 12, 43, 1, '55160', '19.190909063788528', '101.19888551210248', NULL, 1, 1, 3.8, 1, '2022-05-20 07:18:35', '2022-05-20 07:18:35'),
        (4, NULL, 'nan adventure', 'บริษัท น่าน แอดเวนเจอร์ จำกัด', 'บริษัท', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://newgenventure.com/files/images/travel_agency_logo.jpg', 'https://newgenventure.com/files/images/travel_agency_bg_7.jpg', NULL, NULL, NULL, NULL, NULL, 43, 1, NULL, NULL, NULL, NULL, 1, 1, 0, 1, NULL, NULL)
        ");


        $tour_packages = DB::table('tour_packages')->count();
        if($tour_packages == 0){
            DB::insert("INSERT INTO `tour_packages` (`id`, `title`, `description`, `image_url`, `background_image_url`, `province_id`, `package_type`, `highlight`, `tour_size`, `pickup`, `duration`, `is_one_day_trip`, `min`, `max`, `not_suitable_for`, `cancellation`, `preparation`, `booking_condition`, `what_included`, `what_not_included`, `price`, `is_price_per_person`, `discount`, `travel_agency_id`, `is_new`, `is_recommended`, `comment_count`, `likes`, `rating`, `active`, `created_at`, `updated_at`) VALUES
            (1, 'เที่ยวน่าน-ปัว-สะปัน 2 วัน 1 คืน', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Nullam non nisi est sit amet facilisis magna etiam. Consequat nisl vel pretium lectus quam. Lacinia quis vel eros donec ac odio tempor orci dapibus. Pretium viverra suspendisse potenti nullam ac tortor vitae purus. Blandit turpis cursus in hac habitasse platea dictumst quisque sagittis. Magna eget est lorem ipsum. Arcu vitae elementum curabitur vitae nunc sed velit dignissim. Sagittis orci a scelerisque purus semper eget duis at. Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus suspendisse. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt tortor. Ultrices in iaculis nunc sed augue lacus viverra vitae. Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.\r\n\r\nIn ante metus dictum at tempor. Eget nulla facilisi etiam dignissim. Elit ut aliquam purus sit amet. A lacus vestibulum sed arcu non. Elementum curabitur vitae nunc sed velit dignissim sodales ut eu. Arcu cursus vitae congue mauris rhoncus aenean. Laoreet id donec ultrices tincidunt arcu non sodales neque. Velit ut tortor pretium viverra suspendisse potenti nullam ac. Lorem donec massa sapien faucibus et molestie ac feugiat. Pellentesque habitant morbi tristique senectus et netus et. Aliquam sem fringilla ut morbi tincidunt augue interdum velit. Dapibus ultrices in iaculis nunc. Ut morbi tincidunt augue interdum velit euismod in pellentesque massa. Sollicitudin aliquam ultrices sagittis orci a scelerisque purus semper. Nulla facilisi cras fermentum odio eu feugiat pretium nibh ipsum. Netus et malesuada fames ac turpis egestas. Pulvinar neque laoreet suspendisse interdum consectetur libero id faucibus nisl. Turpis egestas sed tempus urna et pharetra pharetra massa massa.\r\n\r\nUrna duis convallis convallis tellus id interdum velit laoreet. Tellus at urna condimentum mattis pellentesque id nibh. Sed egestas egestas fringilla phasellus faucibus. In nulla posuere sollicitudin aliquam ultrices sagittis. Nec feugiat nisl pretium fusce id velit ut. Integer vitae justo eget magna fermentum iaculis eu non diam. Elit pellentesque habitant morbi tristique senectus et netus et. Suscipit adipiscing bibendum est ultricies integer. Suspendisse in est ante in nibh mauris cursus mattis molestie. Velit scelerisque in dictum non consectetur a.\r\n\r\nPulvinar etiam non quam lacus suspendisse faucibus interdum. Purus sit amet luctus venenatis lectus magna fringilla urna porttitor. Mattis pellentesque id nibh tortor id. Laoreet sit amet cursus sit amet. Massa sed elementum tempus egestas sed sed risus pretium quam. Volutpat blandit aliquam etiam erat velit. Netus et malesuada fames ac turpis egestas integer. Iaculis urna id volutpat lacus laoreet. Eget velit aliquet sagittis id consectetur purus. Elit ullamcorper dignissim cras tincidunt lobortis feugiat vivamus.\r\n\r\nLectus vestibulum mattis ullamcorper velit sed ullamcorper morbi. Ullamcorper eget nulla facilisi etiam dignissim diam. Condimentum mattis pellentesque id nibh tortor id aliquet. Porttitor eget dolor morbi non arcu risus. Quis varius quam quisque id diam vel. Fusce ut placerat orci nulla pellentesque dignissim enim. Tincidunt id aliquet risus feugiat in. Bibendum ut tristique et egestas quis ipsum suspendisse ultrices. Dui nunc mattis enim ut tellus elementum. Ut eu sem integer vitae justo eget magna fermentum iaculis. Tristique senectus et netus et malesuada fames. Tellus in hac habitasse platea. A erat nam at lectus urna duis. Ipsum dolor sit amet consectetur adipiscing elit.', 'https://newgenventure.com/files/images/travel_agency_bg_9.jpg', 'https://newgenventure.com/files/images/travel_agency_bg_10.jpg', 43, 'private group', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'small group', 'มีรถรับส่ง', '2 วัน 1 คืน', 1, 2, 8, 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 2950, 1, 0, 1, 1, 0, 0, 0, 0, 1, '2022-05-20 07:23:04', '2022-05-20 07:23:04'),
            (2, 'เที่ยวน่าน 2 วัน 1 คืน น่าน-ปัว-สะปัน', 'Lorem ipsum dolor sit amet, consectetur adipiscing...', 'https://newgenventure.com/files/images/travel_agency_bg_2.jpg', 'https://newgenventure.com/files/images/travel_agency_bg_3.jpg', 43, 'private group', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Nullam non nisi est sit amet facilisis magna etiam. Consequat nisl vel pretium lectus quam.', 'small group', 'มีรถรับส่ง', '2 วัน 1 8no', 0, 2, 8, 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Nullam non nisi est sit amet facilisis magna etiam. Consequat nisl vel pretium lectus quam. Lacinia quis vel eros donec ac odio tempor orci dapibus. Pretium viverra suspendisse potenti nullam ac tortor vitae purus. Blandit turpis cursus in hac habitasse platea dictumst quisque sagittis. Magna eget est lorem ipsum. Arcu vitae elementum curabitur vitae nunc sed velit dignissim. Sagittis orci a scelerisque purus semper eget duis at.', ' Lacinia quis vel eros donec ac odio tempor orci dapibus. Pretium viverra suspendisse potenti nullam ac tortor vitae purus. Blandit turpis cursus in hac habitasse platea dictumst quisque sagittis. Magna eget est lorem ipsum. Arcu vitae elementum curabitur vitae nunc sed velit dignissim. Sagittis orci a scelerisque purus semper eget duis at.', ' Blandit turpis cursus in hac habitasse platea dictumst quisque sagittis. Magna eget est lorem ipsum. Arcu vitae elementum curabitur vitae nunc sed velit dignissim. Sagittis orci a scelerisque purus semper eget duis at.', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', NULL, NULL, 2950, 1, 0, 2, 1, 0, 0, 0, 4.2, 1, '2022-05-20 07:39:59', '2022-05-20 07:39:59'),
            (3, 'น่าน สปา & ช็อปปิ้ง', '<p>น่าน... เมืองยอดฮิตที่หลายคนฝันอยากเดินทางไปเยือนสักครั้ง เพื่อสัมผัสกับภูเขาที่โอบล้อมและสายหมอกอันงดงาม ชมเมือง และวัฒนธรรม เที่ยวสโลว์ไลฟ์ พร้อมบรรยากาศสุดชิลและมุมถ่ายรูปเก๋ๆ</p>\r\n<p><strong>โปรแกรม 2 วัน 1 คืน &nbsp;สปา &amp; ช้อปปิ้ง</strong></p>  <p>โปรแกรมวันแรก<br /> 09.00 น.&nbsp; &nbsp; &nbsp;จิบกาแฟบ้านถั่วลิสง<br /> 10.00 น.&nbsp;&nbsp; &nbsp;นั่งรถรางชมเมืองน่าน<br /> 11.00 น.&nbsp;&nbsp; &nbsp;วัดภูมินทร์ / ซุ้มลีลาวดี<br /> 12.00 น.&nbsp;&nbsp; &nbsp;อาหารกลางวัน<br /> 13.00 น.&nbsp;&nbsp; &nbsp;วัดพระธาตุแช่แห้ง<br /> 14.00 น.&nbsp; &nbsp; สปา<br /> 16.30 น.&nbsp;&nbsp; &nbsp;ศูนย์ OTOP / ศูนย์เครื่องเงิน<br /> 17.30 น. &nbsp;&nbsp; &nbsp;อาหารเย็น&nbsp;<br /> 19.00 น.&nbsp;&nbsp; &nbsp;เข้าที่พัก</p>  <p>โปรแกรมวันที่สอง<br /> 09.30 น.&nbsp;&nbsp; &nbsp;ชมวิวเมืองน่าน วัดเขาน้อย<br /> 10.00 น. &nbsp;&nbsp; &nbsp;จิบกาแฟ<br /> 11.00 น.&nbsp;&nbsp; &nbsp;ช้อปของฝาก<br /> 12.00 น.&nbsp;&nbsp; &nbsp;อาหารกลางวัน<br /> 13.00 น.&nbsp;&nbsp; &nbsp;ของหวานป้านิ่ม<br /> 14.00 น.&nbsp;&nbsp; &nbsp;ช้อปผ้าพื้นเมือง&nbsp;<br /> 15.00 น.&nbsp;&nbsp; &nbsp;ร้านกาแฟ&nbsp;<br /> 16.00 น.&nbsp;&nbsp; &nbsp;ส่งสนามบิน / เข้าที่พัก</p>', 'https://newgenventure.com/files/images/travel_agency_bg_5.jpg', NULL, 43, 'private group', 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'small group', 'มีรถรับส่ง', '2 วัน 1 คืน', 0, 2, 8, 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', NULL, 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', NULL, 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 4500, 1, 0, 2, 1, 0, 0, 0, 4.4, 1, '2022-05-20 07:43:30', '2022-05-20 07:43:30'),
            (4, 'สปา & ช็อปปิ้ง', 'น่าน... เมืองยอดฮิตที่หลายคนฝันอยากเดินทางไปเยือนสักครั้ง เพื่อสัมผัสกับภูเขาที่โอบล้อมและสายหมอกอันงดงาม ชมเมือง และวัฒนธรรม เที่ยวสโลว์ไลฟ์ พร้อมบรรยากาศสุดชิลและมุมถ่ายรูปเก๋ๆ\r\n<p><strong>โปรแกรม 2 วัน 1 คืน &nbsp;สปา &amp; ช้อปปิ้ง</strong></p>  <p>โปรแกรมวันแรก<br /> 09.00 น.&nbsp; &nbsp; &nbsp;จิบกาแฟบ้านถั่วลิสง<br /> 10.00 น.&nbsp;&nbsp; &nbsp;นั่งรถรางชมเมืองน่าน<br /> 11.00 น.&nbsp;&nbsp; &nbsp;วัดภูมินทร์ / ซุ้มลีลาวดี<br /> 12.00 น.&nbsp;&nbsp; &nbsp;อาหารกลางวัน<br /> 13.00 น.&nbsp;&nbsp; &nbsp;วัดพระธาตุแช่แห้ง<br /> 14.00 น.&nbsp; &nbsp; สปา<br /> 16.30 น.&nbsp;&nbsp; &nbsp;ศูนย์ OTOP / ศูนย์เครื่องเงิน<br /> 17.30 น. &nbsp;&nbsp; &nbsp;อาหารเย็น&nbsp;<br /> 19.00 น.&nbsp;&nbsp; &nbsp;เข้าที่พัก</p>  <p>โปรแกรมวันที่สอง<br /> 09.30 น.&nbsp;&nbsp; &nbsp;ชมวิวเมืองน่าน วัดเขาน้อย<br /> 10.00 น. &nbsp;&nbsp; &nbsp;จิบกาแฟ<br /> 11.00 น.&nbsp;&nbsp; &nbsp;ช้อปของฝาก<br /> 12.00 น.&nbsp;&nbsp; &nbsp;อาหารกลางวัน<br /> 13.00 น.&nbsp;&nbsp; &nbsp;ของหวานป้านิ่ม<br /> 14.00 น.&nbsp;&nbsp; &nbsp;ช้อปผ้าพื้นเมือง&nbsp;<br /> 15.00 น.&nbsp;&nbsp; &nbsp;ร้านกาแฟ&nbsp;<br /> 16.00 น.&nbsp;&nbsp; &nbsp;ส่งสนามบิน / เข้าที่พัก</p>', 'https://newgenventure.com/files/images/travel_agency_bg_6.jpg', NULL, 43, 'private group', 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'small group', 'มีรถรับส่ง', '2 วัน 1 คืน', 0, 2, 8, 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'จองล่วงหน้า อย่างน้อย 1 วัน', 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 3650, 1, 0, 3, 1, 0, 0, 0, 0, 1, '2022-05-20 08:02:43', '2022-05-20 08:02:43'),
            (5, 'Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus ', 'Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus suspendisse. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt tortor. Ultrices in iaculis nunc sed augue lacus viverra vitae. Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'https://newgenventure.com/files/images/travel_agency_bg_1.jpg', NULL, NULL, 'private group', 'Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus suspendisse. Orci phasellus', 'small group', 'มีรถรับส่ง', '2 วัน 1 คืน', 0, 2, 8, 'Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus suspendisse. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt tortor. Ultrices in iaculis nunc sed augue lacus viverra vitae. Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus suspendisse. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt tortor. Ultrices in iaculis nunc sed augue lacus viverra vitae. Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus suspendisse. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt tortor. Ultrices in iaculis nunc sed augue lacus viverra vitae. Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus suspendisse. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt tortor. Ultrices in iaculis nunc sed augue lacus viverra vitae. Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus suspendisse. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt tortor. Ultrices in iaculis nunc sed augue lacus viverra vitae. Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 'Integer malesuada nunc vel risus. Pulvinar etiam non quam lacus suspendisse. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt tortor. Ultrices in iaculis nunc sed augue lacus viverra vitae. Justo laoreet sit amet cursus sit amet dictum. Mauris rhoncus aenean vel elit.', 4650, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2022-05-20 08:21:04', '2022-05-20 08:21:04'),
            (6, 'เที่ยวน่าน เที่ยวไหนดี', 'Urna duis convallis convallis tellus id interdum velit laoreet. Tellus at urna condimentum mattis pellentesque id nibh. Sed egestas egestas fringilla phasellus faucibus. In nulla posuere sollicitudin aliquam ultrices sagittis. Nec feugiat nisl pretium fusce id velit ut. Integer vitae justo eget magna fermentum iaculis eu non diam. Elit pellentesque habitant morbi tristique senectus et netus et. Suscipit adipiscing bibendum est ultricies integer. Suspendisse in est ante in nibh mauris cursus mattis molestie. Velit scelerisque in dictum non consectetur a.', 'https://newgenventure.com/files/images/travel_agency_bg_8.jpg', NULL, NULL, 'private group', 'U. Nec feugiat nisl pretium fusce id velit ut. Integer vitae justo eget magna fermentum', 'small group', 'มีรถรับส่ง', '3 วัน 2 คืน', 1, 2, 8, 'Urna duis convallis convallis tellus id interdum velit laoreet. Tellus at urna condimentum mattis pellentesque id nibh. Sed egestas egestas fringilla phasellus faucibus. In nulla posuere sollicitudin aliquam ultrices sagittis. Nec feugiat nisl pretium fusce id velit ut. Integer vitae justo eget magna fermentum iaculis eu non diam. Elit pellentesque habitant morbi tristique senectus et netus et. Suscipit adipiscing bibendum est ultricies integer. Suspendisse in est ante in nibh mauris cursus mattis molestie. Velit scelerisque in dictum non consectetur a.', 'Urna duis convallis convallis tellus id interdum velit laoreet. Tellus at urna condimentum mattis pellentesque id nibh. Sed egestas egestas fringilla phasellus faucibus. In nulla posuere sollicitudin aliquam ultrices sagittis. Nec feugiat nisl pretium fusce id velit ut. Integer vitae justo eget magna fermentum iaculis eu non diam. Elit pellentesque habitant morbi tristique senectus et netus et. Suscipit adipiscing bibendum est ultricies integer. Suspendisse in est ante in nibh mauris cursus mattis molestie. Velit scelerisque in dictum non consectetur a.', 'Urna duis convallis convallis tellus id interdum velit laoreet. Tellus at urna condimentum mattis pellentesque id nibh. Sed egestas egestas fringilla phasellus faucibus. In nulla posuere sollicitudin aliquam ultrices sagittis. Nec feugiat nisl pretium fusce id velit ut. Integer vitae justo eget magna fermentum iaculis eu non diam. Elit pellentesque habitant morbi tristique senectus et netus et. Suscipit adipiscing bibendum est ultricies integer. Suspendisse in est ante in nibh mauris cursus mattis molestie. Velit scelerisque in dictum non consectetur a.', NULL, NULL, NULL, 8500, 0, 0, 2, 1, 0, 0, 0, 4.5, 1, '2022-05-20 08:23:17', '2022-05-20 08:23:17');
            ");
        }


        $hashtag_categories = DB::table('hashtag_categories')->count();
        if ($hashtag_categories == 0) {
            DB::insert("insert into hashtag_categories (id, category_name) values (1, 'lifestyle'),(2, 'landmark')");
        }

        $hashtags = DB::table('hashtags')->count();
        if ($hashtags == 0) {
            DB::insert("insert into hashtags (id, hashtag, hashtag_category_id, language_code) values
            (1, '#สายลุย',1, 'th'),
                (2, '#สายบุญ',1, 'th'),
                (3, '#สายสุขภาพ',1, 'th'),
                (4, '#สายกิน',1, 'th'),
                (5, '#สายชิล',1, 'th'),
                (6, '#สายคลู',1, 'th'),
                (7, '#สายโรแมนติก',1, 'th'),
                (8, '#สายกีฬา',1, 'th'),
                (9, '#สายยันหว่าง',1, 'th'),
                (10, '#ที่กางเต้นท์',2, 'th'),
                (11, '#ที่ปั่นจักรยาน',2, 'th'),
                (12, '#ที่ล่องแก่ง',2, 'th'),
                (13, '#ที่ออกกำลังกาย',2, 'th'),
                (14, '#ที่กิน',2, 'th'),
                (15, '#ที่เที่ยว',2, 'th'),
                (16, '#ที่ถ่ายรูป',2, 'th'),
                (17, '#ที่เช็คอิน',2, 'th'),
                (18, '#ที่พัก',2, 'th'),
                (19, '#ที่กาแฟ',2, 'th'),
                (20, '#ที่ช็อปปิ้ง',2, 'th')
            ");
        }
    }
}
