This commit is contained in:
2026-02-03 15:31:29 +05:00
commit 326c677e8d
2800 changed files with 1489388 additions and 0 deletions

1
database/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.sqlite*

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
[
{
"id": 4,
"created_at": "2022-06-16 15:21:07",
"updated_at": "2023-11-22 16:59:16",
"name": "{\"tk\":\"Renk\",\"ru\":\"\\u0426\\u0432\\u0435\\u0442\",\"en\":\"Colour\"}",
"slug": "colour",
"description": "{\"en\":null}",
"type": "select",
"is_enabled": true,
"is_searchable": true,
"is_filterable": true,
"category_id": null,
"is_required": false
},
{
"id": 5,
"created_at": "2022-06-16 15:57:21",
"updated_at": "2023-06-06 16:12:51",
"name": "{\"tk\":\"\\u00d6l\\u00e7eg\",\"ru\":\"\\u0420\\u0430\\u0437\\u043c\\u0435\\u0440\",\"en\":\"Size\"}",
"slug": "size",
"description": "{\"en\":null}",
"type": "text",
"is_enabled": true,
"is_searchable": true,
"is_filterable": true,
"category_id": null,
"is_required": false
}
]

View File

@@ -0,0 +1,72 @@
[
{
"id": 2,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2022-10-15 10:10:04",
"updated_at": "2023-05-25 17:58:31",
"banner_type": "category",
"banner_resource": "5",
"place": "first",
"sort_order": 2
},
{
"id": 3,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-05-02 14:55:43",
"updated_at": "2023-05-25 17:58:31",
"banner_type": "category",
"banner_resource": "20",
"place": "first",
"sort_order": 1
},
{
"id": 4,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-06-20 22:51:53",
"updated_at": "2023-07-12 20:27:50",
"banner_type": "brands",
"banner_resource": "14",
"place": "market",
"sort_order": null
},
{
"id": 5,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-06-20 22:58:52",
"updated_at": "2023-09-12 16:02:09",
"banner_type": "brands",
"banner_resource": "306",
"place": "store",
"sort_order": null
},
{
"id": 9,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": false,
"description": "{\"tk\":null}",
"created_at": "2023-10-30 14:48:23",
"updated_at": "2023-11-16 15:54:40",
"banner_type": "brands",
"banner_resource": "14",
"place": "short_ad",
"sort_order": null
}
]

4202
database/data/brands.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,226 @@
[
{
"id": 14,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2022-06-23 23:56:38",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "82",
"place": "first",
"sort_order": 3
},
{
"id": 22,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2022-09-02 19:08:44",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "brands",
"banner_resource": "14",
"place": "first",
"sort_order": 4
},
{
"id": 26,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2022-12-07 10:12:38",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "309",
"place": "first",
"sort_order": 3
},
{
"id": 33,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-03-09 09:15:06",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "234",
"place": "first",
"sort_order": 2
},
{
"id": 35,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-04-24 13:05:45",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "1",
"place": "first",
"sort_order": 4
},
{
"id": 37,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-05-03 12:00:36",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "446",
"place": "first",
"sort_order": 1
},
{
"id": 39,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-05-19 16:35:25",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "brands",
"banner_resource": "149",
"place": "first",
"sort_order": 3
},
{
"id": 41,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-05-30 16:00:44",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "26",
"place": "first",
"sort_order": 5
},
{
"id": 42,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-06-23 11:55:19",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "105",
"place": "first",
"sort_order": 6
},
{
"id": 43,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-07-11 10:25:41",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "24",
"place": "first",
"sort_order": 8
},
{
"id": 44,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-07-11 15:13:44",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "178",
"place": "first",
"sort_order": 7
},
{
"id": 45,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-07-26 09:25:39",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "6",
"place": "first",
"sort_order": 9
},
{
"id": 46,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-08-03 17:56:23",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "6",
"place": "first",
"sort_order": 10
},
{
"id": 47,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-08-10 17:32:36",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "category",
"banner_resource": "324",
"place": "first",
"sort_order": 2
},
{
"id": 48,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": true,
"description": "{\"tk\":null}",
"created_at": "2023-08-16 17:28:47",
"updated_at": "2023-09-14 09:57:56",
"banner_type": "brands",
"banner_resource": "303",
"place": "first",
"sort_order": null
},
{
"id": 49,
"position": null,
"extra_attributes": null,
"link": null,
"is_visible": false,
"description": "{\"tk\":null}",
"created_at": "2023-09-03 17:01:08",
"updated_at": "2023-09-20 12:05:13",
"banner_type": "brands",
"banner_resource": "306",
"place": "first",
"sort_order": null
}
]

33778
database/data/carts.json Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,380 @@
[
{
"id": 6,
"channel_id": 7,
"channelable_type": "App\\Models\\User",
"channelable_id": 11,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 27,
"channel_id": 28,
"channelable_type": "App\\Models\\User",
"channelable_id": 60,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 29,
"channel_id": 30,
"channelable_type": "App\\Models\\User",
"channelable_id": 103,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 31,
"channel_id": 32,
"channelable_type": "App\\Models\\User",
"channelable_id": 1,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 39,
"channel_id": 40,
"channelable_type": "App\\Models\\User",
"channelable_id": 340,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 63,
"channel_id": 64,
"channelable_type": "App\\Models\\User",
"channelable_id": 715,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 69,
"channel_id": 70,
"channelable_type": "App\\Models\\User",
"channelable_id": 836,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 70,
"channel_id": 71,
"channelable_type": "App\\Models\\User",
"channelable_id": 848,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 74,
"channel_id": 75,
"channelable_type": "App\\Models\\User",
"channelable_id": 1659,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 77,
"channel_id": 79,
"channelable_type": "App\\Models\\User",
"channelable_id": 1915,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 78,
"channel_id": 80,
"channelable_type": "App\\Models\\User",
"channelable_id": 1916,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 79,
"channel_id": 81,
"channelable_type": "App\\Models\\User",
"channelable_id": 1917,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 80,
"channel_id": 82,
"channelable_type": "App\\Models\\User",
"channelable_id": 1918,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 81,
"channel_id": 83,
"channelable_type": "App\\Models\\User",
"channelable_id": 1919,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 82,
"channel_id": 84,
"channelable_type": "App\\Models\\User",
"channelable_id": 1925,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 86,
"channel_id": 88,
"channelable_type": "App\\Models\\User",
"channelable_id": 2054,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 87,
"channel_id": 89,
"channelable_type": "App\\Models\\User",
"channelable_id": 2086,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 90,
"channel_id": 92,
"channelable_type": "App\\Models\\User",
"channelable_id": 2260,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 91,
"channel_id": 93,
"channelable_type": "App\\Models\\User",
"channelable_id": 2355,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 92,
"channel_id": 94,
"channelable_type": "App\\Models\\User",
"channelable_id": 2356,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 93,
"channel_id": 64,
"channelable_type": "App\\Models\\User",
"channelable_id": 1025,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 94,
"channel_id": 95,
"channelable_type": "App\\Models\\User",
"channelable_id": 2710,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 96,
"channel_id": 97,
"channelable_type": "App\\Models\\User",
"channelable_id": 2924,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 97,
"channel_id": 98,
"channelable_type": "App\\Models\\User",
"channelable_id": 2962,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 98,
"channel_id": 99,
"channelable_type": "App\\Models\\User",
"channelable_id": 3021,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 101,
"channel_id": 102,
"channelable_type": "App\\Models\\User",
"channelable_id": 3158,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 103,
"channel_id": 104,
"channelable_type": "App\\Models\\User",
"channelable_id": 3325,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 104,
"channel_id": 105,
"channelable_type": "App\\Models\\User",
"channelable_id": 3448,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 105,
"channel_id": 106,
"channelable_type": "App\\Models\\User",
"channelable_id": 3650,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 106,
"channel_id": 107,
"channelable_type": "App\\Models\\User",
"channelable_id": 3672,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 107,
"channel_id": 108,
"channelable_type": "App\\Models\\User",
"channelable_id": 3684,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 109,
"channel_id": 110,
"channelable_type": "App\\Models\\User",
"channelable_id": 4149,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 111,
"channel_id": 112,
"channelable_type": "App\\Models\\User",
"channelable_id": 4430,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 113,
"channel_id": 114,
"channelable_type": "App\\Models\\User",
"channelable_id": 4512,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 114,
"channel_id": 115,
"channelable_type": "App\\Models\\User",
"channelable_id": 4879,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 115,
"channel_id": 116,
"channelable_type": "App\\Models\\User",
"channelable_id": 5097,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 117,
"channel_id": 1,
"channelable_type": "App\\Models\\User",
"channelable_id": 16,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 118,
"channel_id": 118,
"channelable_type": "App\\Models\\User",
"channelable_id": 5777,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 122,
"channel_id": 122,
"channelable_type": "App\\Models\\User",
"channelable_id": 6633,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 123,
"channel_id": 123,
"channelable_type": "App\\Models\\User",
"channelable_id": 6717,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 124,
"channel_id": 124,
"channelable_type": "App\\Models\\User",
"channelable_id": 7002,
"default": false,
"created_at": null,
"updated_at": null
},
{
"id": 131,
"channel_id": 131,
"channelable_type": "App\\Models\\User",
"channelable_id": 7882,
"default": false,
"created_at": null,
"updated_at": null
}
]

453
database/data/channels.json Normal file
View File

@@ -0,0 +1,453 @@
[
{
"id": 1,
"created_at": "2022-05-25 21:22:29",
"updated_at": "2023-07-14 10:00:33",
"name": "\"Türkmenpoçta\" PAK",
"slug": "tmpost",
"description": null,
"timezone": null,
"url": "https://shop.post.tm/",
"is_default": false
},
{
"id": 7,
"created_at": "2022-06-05 19:10:28",
"updated_at": "2022-06-05 19:10:28",
"name": "Muhammed Artykov shop",
"slug": "muhammed-artykov-shop",
"description": null,
"timezone": null,
"url": "https://shop.turkmenpost.gov.tm",
"is_default": false
},
{
"id": 28,
"created_at": "2022-07-23 13:21:05",
"updated_at": "2023-07-14 09:59:57",
"name": "Muratjan Juraýew",
"slug": "muratjan-jurayew",
"description": null,
"timezone": null,
"url": "https://shop.turkmenpost.gov.tm",
"is_default": false
},
{
"id": 30,
"created_at": "2022-07-27 16:54:15",
"updated_at": "2023-07-14 10:00:06",
"name": "Agajan Hekimow 1",
"slug": "sohrat",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 32,
"created_at": "2022-08-18 23:57:41",
"updated_at": "2023-07-14 09:59:55",
"name": "Nurmuhammet Allanov",
"slug": "nurmuhammet-allanov",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 40,
"created_at": "2022-08-31 11:06:29",
"updated_at": "2023-07-11 19:52:18",
"name": "AT Cybersport",
"slug": "at-cybersport",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": true
},
{
"id": 64,
"created_at": "2022-10-07 11:06:54",
"updated_at": "2023-07-14 09:58:22",
"name": "Agajan Hekimow 8",
"slug": "juma",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 70,
"created_at": "2022-10-25 16:23:50",
"updated_at": "2023-10-11 12:52:48",
"name": "Agajan Hekimow 2",
"slug": "market",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 71,
"created_at": "2022-10-26 17:43:34",
"updated_at": "2023-08-02 13:04:19",
"name": "\"HEŞDEK\" ofis market",
"slug": "99365619032",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": true
},
{
"id": 75,
"created_at": "2023-02-04 11:13:53",
"updated_at": "2023-07-14 09:58:25",
"name": "Agajan Hekimow 12",
"slug": "satlyk",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 79,
"created_at": "2023-03-14 09:10:19",
"updated_at": "2023-07-14 09:58:27",
"name": "Agajan Hekimow 3",
"slug": "dowlet",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 80,
"created_at": "2023-03-14 09:15:32",
"updated_at": "2023-07-21 10:23:34",
"name": "Amatly kosmetika",
"slug": "99361946997",
"description": null,
"timezone": null,
"url": "Agajan Hekimow 4",
"is_default": true
},
{
"id": 81,
"created_at": "2023-03-14 09:16:40",
"updated_at": "2023-07-14 09:58:29",
"name": "Agajan Hekimow 5",
"slug": "batyr99364707773",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 82,
"created_at": "2023-03-14 09:17:24",
"updated_at": "2023-07-14 09:58:29",
"name": "Agajan Hekimow 6",
"slug": "pak",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 83,
"created_at": "2023-03-14 09:17:59",
"updated_at": "2023-07-14 09:58:31",
"name": "Agajan Hekimow 7",
"slug": "muratjan",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 84,
"created_at": "2023-03-15 09:49:14",
"updated_at": "2023-03-15 09:49:14",
"name": "Agajan Hekimow",
"slug": "agajan-hekimow",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": true
},
{
"id": 88,
"created_at": "2023-04-04 16:54:41",
"updated_at": "2023-04-04 16:54:41",
"name": "Atajan Atajan",
"slug": "atajan-atajan",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": true
},
{
"id": 89,
"created_at": "2023-04-08 09:14:30",
"updated_at": "2023-07-21 09:46:57",
"name": "Balyk tutmak we aw etmek",
"slug": "99365676855",
"description": null,
"timezone": null,
"url": "Agajan Hekimow 9",
"is_default": true
},
{
"id": 92,
"created_at": "2023-05-01 18:07:05",
"updated_at": "2023-07-21 09:43:32",
"name": "Mi",
"slug": "99365615764",
"description": null,
"timezone": null,
"url": "Agajan Hekimow 10",
"is_default": true
},
{
"id": 93,
"created_at": "2023-05-08 15:36:02",
"updated_at": "2023-07-21 10:07:24",
"name": "Akyayla",
"slug": "99365729774",
"description": null,
"timezone": null,
"url": "Agajan Hekimow 11",
"is_default": true
},
{
"id": 94,
"created_at": "2023-05-08 16:04:41",
"updated_at": "2023-07-14 09:58:11",
"name": "Ogulshat Berkeliyewa",
"slug": "ogulshat-berkeliyewa",
"description": null,
"timezone": null,
"url": null,
"is_default": false
},
{
"id": 95,
"created_at": "2023-05-23 14:16:00",
"updated_at": "2023-05-23 14:16:10",
"name": "Yakyndar",
"slug": "yakyndar",
"description": null,
"timezone": null,
"url": null,
"is_default": true
},
{
"id": 97,
"created_at": "2023-05-28 19:16:47",
"updated_at": "2023-07-14 09:58:49",
"name": "Gurdowa Gülşat",
"slug": "99363524158",
"description": null,
"timezone": null,
"url": null,
"is_default": false
},
{
"id": 98,
"created_at": "2023-05-30 10:05:29",
"updated_at": "2023-06-19 17:21:13",
"name": "Bezeg market",
"slug": "99362675545",
"description": null,
"timezone": null,
"url": null,
"is_default": true
},
{
"id": 99,
"created_at": "2023-06-02 14:36:02",
"updated_at": "2023-06-19 17:56:43",
"name": "Mannol-Turkmen",
"slug": "99365811591",
"description": null,
"timezone": null,
"url": null,
"is_default": true
},
{
"id": 102,
"created_at": "2023-06-08 17:17:58",
"updated_at": "2023-06-19 17:58:43",
"name": "Zyýada market",
"slug": "99363085015",
"description": null,
"timezone": null,
"url": null,
"is_default": true
},
{
"id": 104,
"created_at": "2023-06-14 14:21:24",
"updated_at": "2023-07-19 17:44:09",
"name": "Asia Tech",
"slug": "99362631593",
"description": null,
"timezone": null,
"url": null,
"is_default": true
},
{
"id": 105,
"created_at": "2023-06-19 14:15:36",
"updated_at": "2023-06-19 17:23:47",
"name": "Tehnopark",
"slug": "99365319225",
"description": null,
"timezone": null,
"url": null,
"is_default": true
},
{
"id": 106,
"created_at": "2023-07-01 20:10:15",
"updated_at": "2023-07-17 09:35:05",
"name": "Zeytun sport",
"slug": "zeytun-sport",
"description": null,
"timezone": null,
"url": "99362188328",
"is_default": false
},
{
"id": 107,
"created_at": "2023-07-04 15:12:41",
"updated_at": "2023-08-09 17:07:43",
"name": "Durmuş",
"slug": "durmus",
"description": null,
"timezone": null,
"url": "99363006990",
"is_default": false
},
{
"id": 108,
"created_at": "2023-07-05 14:59:29",
"updated_at": "2023-07-14 09:58:57",
"name": "Agajan Hekimow 14",
"slug": "suleyman",
"description": null,
"timezone": null,
"url": "99364564934",
"is_default": false
},
{
"id": 110,
"created_at": "2023-07-25 15:27:09",
"updated_at": "2023-08-05 17:56:31",
"name": "Hoşal",
"slug": "hosal",
"description": null,
"timezone": null,
"url": "+99361980857",
"is_default": false
},
{
"id": 112,
"created_at": "2023-08-01 09:05:01",
"updated_at": "2023-08-01 09:06:11",
"name": "Nusga haly",
"slug": "nusga-haly",
"description": null,
"timezone": null,
"url": "+99362695306",
"is_default": false
},
{
"id": 114,
"created_at": "2023-08-02 17:40:47",
"updated_at": "2023-08-02 17:42:46",
"name": "Elektronika.tm",
"slug": "elektronikatm",
"description": null,
"timezone": null,
"url": "+99363593666",
"is_default": false
},
{
"id": 115,
"created_at": "2023-08-08 10:54:39",
"updated_at": "2023-08-08 10:55:50",
"name": "Türkmenhaly",
"slug": "99364686669",
"description": null,
"timezone": null,
"url": null,
"is_default": false
},
{
"id": 116,
"created_at": "2023-08-14 10:35:47",
"updated_at": "2023-08-14 17:12:27",
"name": "Kaspian",
"slug": "kaspian",
"description": null,
"timezone": null,
"url": "+99365723298",
"is_default": true
},
{
"id": 118,
"created_at": "2023-09-02 13:24:58",
"updated_at": "2024-02-14 18:27:03",
"name": "Smart elektronika",
"slug": "smart-elektronika",
"description": null,
"timezone": null,
"url": null,
"is_default": true
},
{
"id": 122,
"created_at": "2023-10-02 18:21:20",
"updated_at": "2023-10-04 15:17:11",
"name": "Telekeçi 0050517",
"slug": "telekeci-0050517",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 123,
"created_at": "2023-10-05 16:13:19",
"updated_at": "2023-11-12 12:54:44",
"name": "Opt.tm.",
"slug": "opt-tm",
"description": null,
"timezone": null,
"url": "+99361518808",
"is_default": true
},
{
"id": 124,
"created_at": "2023-10-17 22:04:23",
"updated_at": "2023-10-30 16:25:52",
"name": "Telekeçi 0043524",
"slug": "telekeci-0043524",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": false
},
{
"id": 131,
"created_at": "2023-11-28 16:27:01",
"updated_at": "2024-02-06 16:08:41",
"name": "Gunar Kakajanowa",
"slug": "99365961072",
"description": null,
"timezone": null,
"url": "https://shop.post.tm",
"is_default": true
}
]

View File

@@ -0,0 +1,770 @@
[
{
"id": 1,
"created_at": "2022-06-08 18:16:01",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"T\\u00e4ze harytlar\",\"ru\":\"\\u041d\\u043e\\u0432\\u044b\\u0435 \\u043f\\u0440\\u043e\\u0434\\u0443\\u043a\\u0442\\u044b\",\"en\":\"New products\"}",
"slug": "new-products",
"description": null,
"type": "manual",
"sort": null,
"match_conditions": "all",
"published_at": "2022-06-08 18:16:01+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 7
},
{
"id": 2,
"created_at": "2022-06-08 18:20:28",
"updated_at": "2024-02-21 16:12:24",
"name": "{\"tk\":\"Market\",\"ru\":\"\\u041c\\u0430\\u0440\\u043a\\u0435\\u0442\",\"en\":\"Market\"}",
"slug": "market",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": "all",
"published_at": "2022-06-08 18:20:28+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": false,
"sort_order": 43
},
{
"id": 3,
"created_at": "2022-09-19 14:28:45",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"Arzanladylan harytlar\",\"ru\":\"\\u0422\\u043e\\u0432\\u0430\\u0440\\u044b \\u0441\\u043e \\u0441\\u043a\\u0438\\u0434\\u043a\\u043e\\u0439\",\"en\":\"Items on sale\"}",
"slug": "skidkaly-harytlar",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2022-09-19 09:24:22+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 3
},
{
"id": 5,
"created_at": "2022-10-14 15:46:47",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Ki\\u00e7i hojalyk tehnika\",\"ru\":\"\\u041c\\u0435\\u043b\\u043a\\u0430\\u044f \\u0431\\u044b\\u0442\\u043e\\u0432\\u0430\\u044f \\u0442\\u0435\\u0445\\u043d\\u0438\\u043a\\u0430\",\"en\":\"Small kitchen appliances\"}",
"slug": "kici-hojalyk-tehnika",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2022-10-14 10:39:35+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 20
},
{
"id": 6,
"created_at": "2022-10-27 09:48:48",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Balyk tutmak we aw etmek\",\"ru\":\"\\u0420\\u044b\\u0431\\u0430\\u043b\\u043a\\u0430 \\u0438 \\u043e\\u0445\\u043e\\u0442\\u0430\",\"en\":\"Fishing and hunting\"}",
"slug": "balyk-tutmak-we-aw-etmek",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2022-10-27 04:47:52+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 17
},
{
"id": 7,
"created_at": "2022-11-01 16:18:42",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Kansel\\u00fdar harytlary\",\"ru\":\"\\u041a\\u0430\\u043d\\u0446\\u0435\\u043b\\u044f\\u0440\\u0441\\u043a\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u044b\",\"en\":\"Stationery products\"}",
"slug": "kanselyariya-harytlary",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2022-11-01 11:17:24+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 21
},
{
"id": 10,
"created_at": "2022-11-17 09:14:10",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"AT Cybersport\",\"ru\":\"AT Cybersport\",\"en\":\"AT Cybersport\"}",
"slug": "at-cybersport",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2022-11-17 04:13:16+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 4
},
{
"id": 13,
"created_at": "2023-02-10 10:44:04",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Brend sagatlar\",\"ru\":\"\\u0424\\u0438\\u0440\\u043c\\u0435\\u043d\\u043d\\u044b\\u0435 \\u0447\\u0430\\u0441\\u044b\",\"en\":\"Brand watches\"}",
"slug": "brend-sagatlar",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-10 05:43:02+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 22
},
{
"id": 14,
"created_at": "2023-02-14 09:23:37",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Blenderler\",\"ru\":\"\\u0411\\u043b\\u0435\\u043d\\u0434\\u0435\\u0440\\u044b\",\"en\":\"Blenders\"}",
"slug": "blendery",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-14 04:19:54+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 23
},
{
"id": 15,
"created_at": "2023-02-23 09:01:07",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"\\u00dct\\u00fckler\",\"ru\":\"\\u0423\\u0442\\u044e\\u0433\\u0438\",\"en\":\"Irons\"}",
"slug": "utukler",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-23 03:58:07+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 24
},
{
"id": 16,
"created_at": "2023-02-23 09:03:40",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Telewizorlar\",\"ru\":\"\\u0422\\u0435\\u043b\\u0435\\u0432\\u0438\\u0437\\u043e\\u0440\\u044b\",\"en\":\"Televisions\"}",
"slug": "telewizorlar",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-23 04:02:02+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 25
},
{
"id": 17,
"created_at": "2023-02-23 09:06:16",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Kir \\u00fduwujy ma\\u015fynlar\",\"ru\":\"\\u0421\\u0442\\u0438\\u0440\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u043c\\u0430\\u0448\\u0438\\u043d\\u044b\",\"en\":\"Washing machines\"}",
"slug": "kir-yuwujy-masynlar",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-23 04:04:44+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 26
},
{
"id": 18,
"created_at": "2023-02-23 09:54:15",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Tozan sorujylar\",\"ru\":\"\\u041f\\u044b\\u043b\\u0435\\u0441\\u043e\\u0441\\u044b\",\"en\":\"Vacuum cleaners\"}",
"slug": "tozan-sorujylar",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-23 04:51:35+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 27
},
{
"id": 19,
"created_at": "2023-02-23 10:17:16",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Suw ga\\u00fdnadyjylar\",\"ru\":\"\\u042d\\u043b\\u0435\\u043a\\u0442\\u0440\\u0438\\u0447\\u0435\\u0441\\u043a\\u0438\\u0435 \\u0447\\u0430\\u0439\\u043d\\u0438\\u043a\\u0438\",\"en\":\"Electric kettles\"}",
"slug": "suw-gaynadyjylar",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-23 05:14:31+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 18
},
{
"id": 20,
"created_at": "2023-02-23 10:51:20",
"updated_at": "2023-09-18 23:48:10",
"name": "{\"tk\":\"Sa\\u00e7 \\u015fekillendirijiler\",\"ru\":\"\\u041f\\u043b\\u043e\\u0439\\u043a\\u0438, \\u0441\\u0442\\u0430\\u0439\\u043b\\u0435\\u0440\\u044b, \\u0449\\u0438\\u043f\\u0446\\u044b\",\"en\":\"Curling irons, stylers, tongs\"}",
"slug": "curling-irons-stylers-tongs",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-23 05:49:27+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 28
},
{
"id": 21,
"created_at": "2023-02-23 10:57:47",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Elektrobritwalar\",\"ru\":\"\\u042d\\u043b\\u0435\\u043a\\u0442\\u0440\\u043e\\u0431\\u0440\\u0438\\u0442\\u0432\\u044b\",\"en\":\"Electric shavers\"}",
"slug": "electric-shavers",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-23 05:56:55+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 19
},
{
"id": 22,
"created_at": "2023-02-23 17:27:43",
"updated_at": "2023-09-18 23:48:10",
"name": "{\"tk\":\"Wafel, K\\u00f6ke, \\u00c7\\u00f6rek bi\\u015firijiler\",\"ru\":\"\\u0412\\u0430\\u0444\\u0435\\u043b\\u044c\\u043d\\u0438\\u0446\\u0430 \\u0438 \\u0425\\u043b\\u0435\\u0431\\u043e\\u043f\\u0435\\u0447\\u043a\\u0438\",\"en\":\"Waffle Maker & Bread Makers\"}",
"slug": "waffle-maker-bread-makers",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-23 12:14:09+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 29
},
{
"id": 23,
"created_at": "2023-02-23 17:51:50",
"updated_at": "2023-09-18 23:48:10",
"name": "{\"tk\":\"Tosterler\",\"ru\":\"\\u0422\\u043e\\u0441\\u0442\\u0435\\u0440\\u044b\",\"en\":\"Toasters\"}",
"slug": "toasters",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-23 12:50:58+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 30
},
{
"id": 24,
"created_at": "2023-02-27 15:29:38",
"updated_at": "2023-09-18 23:48:10",
"name": "{\"tk\":\"Mikrotolkunly Pe\\u00e7\",\"ru\":\"\\u041c\\u0438\\u043a\\u0440\\u043e\\u0432\\u043e\\u043b\\u043d\\u043e\\u0432\\u044b\\u0435 \\u041f\\u0435\\u0447\\u0438\",\"en\":\"Microwaves\"}",
"slug": "microwaves",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-27 10:28:57+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 31
},
{
"id": 25,
"created_at": "2023-02-27 16:47:46",
"updated_at": "2023-09-18 23:48:00",
"name": "{\"tk\":\"A\\u015fhana pe\\u00e7ler\",\"ru\":\"\\u0414\\u0443\\u0445\\u043e\\u0432\\u044b\\u0435 \\u0448\\u043a\\u0430\\u0444\\u044b\",\"en\":\"Ovens\"}",
"slug": "ovens",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-02-27 11:46:42+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 32
},
{
"id": 26,
"created_at": "2023-03-02 11:18:07",
"updated_at": "2023-09-18 23:48:00",
"name": "{\"tk\":\"Kofe Ma\\u015fyn we \\u00dcweyji\",\"ru\":\"\\u041a\\u043e\\u0444\\u0435\\u043c\\u0430\\u0448\\u0438\\u043d\\u044b \\u0438 K\\u043e\\u0444\\u0435\\u043c\\u043e\\u043b\\u043a\\u0438\",\"en\":\"Coffee machines and grinders\"}",
"slug": "coffee-machines-and-grinders",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-03-02 06:17:31+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 33
},
{
"id": 27,
"created_at": "2023-03-13 15:53:11",
"updated_at": "2023-09-18 23:48:00",
"name": "{\"tk\":\"A\\u015fhana enjamlary\",\"ru\":\"\\u041a\\u0443\\u0445\\u043e\\u043d\\u043d\\u0430\\u044f \\u0443\\u0442\\u0432\\u0430\\u0440\\u044c\",\"en\":\"Kitchenware\"}",
"slug": "ashana-enjamlary",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-03-13 10:52:35+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 34
},
{
"id": 28,
"created_at": "2023-03-14 16:07:32",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Kitaplar\",\"ru\":\"\\u041a\\u043d\\u0438\\u0433\\u0438\",\"en\":\"Books\"}",
"slug": "books",
"description": "{\"ru\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-03-14 11:06:18+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 16
},
{
"id": 29,
"created_at": "2023-04-05 10:21:02",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"ARDESTO\",\"ru\":\"ARDESTO\",\"en\":\"ARDESTO\"}",
"slug": "ardesto",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-04-05 05:20:31+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 14
},
{
"id": 30,
"created_at": "2023-04-05 16:41:15",
"updated_at": "2023-09-18 23:48:00",
"name": "{\"tk\":\"Tereziler\",\"ru\":\"\\u0412\\u0435\\u0441\\u044b\",\"en\":\"Scales\"}",
"slug": "tereziler",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-04-05 11:40:00+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 35
},
{
"id": 31,
"created_at": "2023-04-11 10:24:11",
"updated_at": "2023-09-18 23:48:00",
"name": "{\"tk\":\"Asia Tech\",\"ru\":\"Asia Tech\",\"en\":\"Asia Tech\"}",
"slug": "asia-tech",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-04-11 05:23:01+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 36
},
{
"id": 32,
"created_at": "2023-04-27 09:43:52",
"updated_at": "2023-09-18 23:48:00",
"name": "{\"tk\":\"Gurlu\\u015fyk harytlary\",\"ru\":\"\\u0421\\u0442\\u0440\\u043e\\u0438\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u043c\\u0430\\u0442\\u0435\\u0440\\u0438\\u0430\\u043b\\u044b\",\"en\":\"Construction materiales\"}",
"slug": "construction-materiales",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-04-27 04:42:43+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 37
},
{
"id": 33,
"created_at": "2023-05-03 15:04:12",
"updated_at": "2023-09-18 23:48:00",
"name": "{\"tk\":\"Mi\",\"ru\":\"Mi\",\"en\":\"Mi\"}",
"slug": "mi",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-05-03 10:03:15+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 38
},
{
"id": 34,
"created_at": "2023-05-08 17:44:44",
"updated_at": "2023-09-20 11:08:52",
"name": "{\"tk\":\"Kondisionerler\",\"ru\":\"\\u041a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u044b\",\"en\":\"Air conditioners\"}",
"slug": "air-conditioners",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-05-08 12:44:03+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 15
},
{
"id": 35,
"created_at": "2023-05-17 17:56:43",
"updated_at": "2023-09-18 23:48:00",
"name": "{\"tk\":\"Holodilnikler\",\"ru\":\"\\u0425\\u043e\\u043b\\u043e\\u0434\\u0438\\u043b\\u044c\\u043d\\u0438\\u043a\\u0438\",\"en\":\"Fridges\"}",
"slug": "fridges",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-05-17 12:56:07+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 39
},
{
"id": 36,
"created_at": "2023-05-23 16:14:22",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"\\u00ddAKYNDAR\",\"ru\":\"\\u00ddAKYNDAR\",\"en\":\"\\u00ddAKYNDAR\"}",
"slug": "yakyndar",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-05-23 11:13:46+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 11
},
{
"id": 37,
"created_at": "2023-05-24 10:58:43",
"updated_at": "2023-09-18 23:48:00",
"name": "{\"tk\":\"Bo\\u00fdler\",\"ru\":\"\\u0411\\u043e\\u0439\\u043b\\u0435\\u0440\",\"en\":\"Boiler\"}",
"slug": "boiler",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-05-24 05:57:42+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 40
},
{
"id": 38,
"created_at": "2023-05-30 14:32:38",
"updated_at": "2023-09-18 23:48:00",
"name": "{\"tk\":\"Bezeg market\",\"ru\":\"\\u0411\\u0435\\u0437\\u0435\\u0433 \\u043c\\u0430\\u0440\\u043a\\u0435\\u0442\",\"en\":\"Bezeg market\"}",
"slug": "howuz",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-05-30 09:31:44+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 41
},
{
"id": 39,
"created_at": "2023-06-04 15:38:56",
"updated_at": "2023-09-18 23:37:03",
"name": "{\"tk\":\"Fen\",\"ru\":\"\\u0424\\u0435\\u043d\",\"en\":\"Hair dryer\"}",
"slug": "fen",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-06-04 10:37:45+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 42
},
{
"id": 40,
"created_at": "2023-06-07 16:57:53",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"Mannol-Turkmenistan\",\"ru\":\"Mannol-Turkmenistan\",\"en\":\"Mannol-Turkmenistan\"}",
"slug": "mannol-turkmenistan",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-06-07 11:56:47+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 12
},
{
"id": 41,
"created_at": "2023-06-16 16:02:07",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"Zy\\u00fdada Market\",\"ru\":\"Zy\\u00fdada Market\",\"en\":\"Zy\\u00fdada Market\"}",
"slug": "zyyada-market",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-06-16 11:01:55+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 10
},
{
"id": 42,
"created_at": "2023-06-20 11:34:54",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"Tehnopark\",\"ru\":\"Tehnopark\",\"en\":\"Tehnopark\"}",
"slug": "tehnopark",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-06-20 06:34:35+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 13
},
{
"id": 43,
"created_at": "2023-06-26 16:35:14",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"Akylly sagatlar we fitnes bilezikleri\",\"ru\":\"\\u0423\\u043c\\u043d\\u044b\\u0435 \\u0447\\u0430\\u0441\\u044b \\u0438 \\u0444\\u0438\\u0442\\u043d\\u0435\\u0441-\\u0431\\u0440\\u0430\\u0441\\u043b\\u0435\\u0442\\u044b\",\"en\":\"Smart watches and fitness bracelets\"}",
"slug": "akylly-sagatlar-we-fitnes-bilezikleri",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-06-26 11:33:29+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 9
},
{
"id": 44,
"created_at": "2023-06-27 20:47:04",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"Nau\\u015fnik\",\"ru\":\"\\u041d\\u0430\\u0443\\u0448\\u043d\\u0438\\u043a\\u0438\",\"en\":\"Headphones\"}",
"slug": "headphones",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-06-27 15:46:07+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 6
},
{
"id": 45,
"created_at": "2023-07-04 15:15:09",
"updated_at": "2023-09-18 23:37:03",
"name": "{\"tk\":\"Durmu\\u015f a\\u00fdakgap\",\"ru\":\"Durmu\\u015f a\\u00fdakgap\",\"en\":\"Durmu\\u015f a\\u00fdakgap\"}",
"slug": "durmus-ayakgap",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-07-04 10:14:36+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 44
},
{
"id": 46,
"created_at": "2023-07-13 10:32:48",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"Howuz\",\"ru\":\"\\u0411\\u0430\\u0441\\u0441\\u0435\\u0439\\u043d\",\"en\":\"Pool\"}",
"slug": "pool",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-07-13 05:32:13+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 8
},
{
"id": 47,
"created_at": "2023-07-25 10:14:45",
"updated_at": "2023-09-18 23:37:03",
"name": "{\"tk\":\"Amatly kosmetika\",\"ru\":\"Amatly kosmetika\",\"en\":\"Amatly kosmetika\"}",
"slug": "amatly-kosmetika",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-07-25 05:14:02+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 45
},
{
"id": 48,
"created_at": "2023-07-25 17:36:30",
"updated_at": "2023-09-18 23:37:03",
"name": "{\"tk\":\"Ho\\u015fal\",\"ru\":\"Ho\\u015fal\",\"en\":\"Ho\\u015fal\"}",
"slug": "hosal",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-07-25 12:36:07+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 46
},
{
"id": 49,
"created_at": "2023-08-01 09:07:30",
"updated_at": "2023-09-18 23:37:03",
"name": "{\"tk\":\"Nusga haly\",\"ru\":\"Nusga haly\",\"en\":\"Nusga haly\"}",
"slug": "nusga-haly",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-08-01 04:07:08+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 47
},
{
"id": 51,
"created_at": "2023-08-14 16:31:13",
"updated_at": "2023-09-18 23:37:03",
"name": "{\"tk\":\"KASPIAN\",\"ru\":\"KASPIAN\",\"en\":\"KASPIAN\"}",
"slug": "kaspian",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-08-14 11:30:54+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 48
},
{
"id": 52,
"created_at": "2023-09-02 13:28:40",
"updated_at": "2024-01-17 09:33:37",
"name": "{\"tk\":\"Smart Elektronika\",\"ru\":\"Smart Elektronika\",\"en\":\"Smart Elektronika\"}",
"slug": "web-ulgam-electronics",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-09-02 08:28:06+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 2
},
{
"id": 53,
"created_at": "2023-09-18 23:34:28",
"updated_at": "2023-09-20 11:09:07",
"name": "{\"tk\":\"Komp\\u00fduter harytlary\",\"ru\":\"\\u041a\\u043e\\u043c\\u043f\\u044c\\u044e\\u0442\\u0435\\u0440\\u043d\\u044b\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u044b\",\"en\":\"Computer products\"}",
"slug": "kompyuter-harytlary",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-09-18 18:33:30+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 1
},
{
"id": 54,
"created_at": "2023-10-09 11:02:22",
"updated_at": "2023-10-09 11:02:22",
"name": "{\"tk\":\"Opt tm\",\"ru\":\"Opt tm\",\"en\":\"Opt tm\"}",
"slug": "opt-tm",
"description": "{\"en\":null}",
"type": "manual",
"sort": null,
"match_conditions": null,
"published_at": "2023-10-09 06:01:46+00",
"seo_title": null,
"seo_description": null,
"shown_on_homescreen": true,
"sort_order": 49
}
]

File diff suppressed because it is too large Load Diff

1703
database/data/favorites.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,42 @@
[
{
"id": 1,
"created_at": "2022-05-25 21:22:29",
"updated_at": "2024-02-21 15:46:46",
"name": "Türkmenpoçta",
"code": "ammar",
"description": null,
"email": "postshop2023@gmail.com",
"street_address": "ş. Aşgabat köçe Petrozowodskoý 6",
"street_address_plus": null,
"zipcode": "744000",
"city": "Aşgabat",
"phone_number": "+99365728952",
"priority": 0,
"latitude": 255.00000,
"longitude": 255.00000,
"is_default": false,
"country_id": 223,
"channel_id": 1
},
{
"id": 3,
"created_at": "2024-01-30 17:29:55",
"updated_at": "2024-02-21 15:46:46",
"name": "Dükan",
"code": "Dükan",
"description": null,
"email": "postshop2023@gmail.com",
"street_address": "B.Annanow 39A",
"street_address_plus": null,
"zipcode": "744000",
"city": "Ashgabat",
"phone_number": "+99365728952",
"priority": 0,
"latitude": null,
"longitude": null,
"is_default": false,
"country_id": null,
"channel_id": 1
}
]

38
database/data/legals.json Normal file

File diff suppressed because one or more lines are too long

300802
database/data/media.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,312 @@
[
{
"role_id": 1,
"model_type": "App\\Models\\User",
"model_id": 1
},
{
"role_id": 1,
"model_type": "App\\Models\\User",
"model_id": 2
},
{
"role_id": 1,
"model_type": "App\\Models\\User",
"model_id": 59
},
{
"role_id": 1,
"model_type": "App\\Models\\User",
"model_id": 60
},
{
"role_id": 1,
"model_type": "App\\Models\\User",
"model_id": 388
},
{
"role_id": 1,
"model_type": "App\\Models\\User",
"model_id": 2154
},
{
"role_id": 1,
"model_type": "App\\Models\\User",
"model_id": 2158
},
{
"role_id": 1,
"model_type": "App\\Models\\User",
"model_id": 2356
},
{
"role_id": 1,
"model_type": "App\\Models\\User",
"model_id": 7676
},
{
"role_id": 2,
"model_type": "App\\Models\\User",
"model_id": 786
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 16
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 103
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 340
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 715
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 836
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 848
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 1025
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 1659
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 1772
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 1915
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 1916
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 1917
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 1918
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 1919
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 1925
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 1932
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 2054
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 2086
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 2260
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 2355
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 2710
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 2924
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 2962
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 3021
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 3158
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 3325
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 3448
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 3650
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 3672
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 3684
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 4149
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 4223
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 4430
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 4512
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 4879
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 5097
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 5298
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 5777
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 5945
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 6103
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 6170
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 6633
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 6717
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 7002
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 7300
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 7514
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 7539
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 7609
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 7835
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 7882
},
{
"role_id": 6,
"model_type": "App\\Models\\User",
"model_id": 8742
},
{
"role_id": 8,
"model_type": "App\\Models\\User",
"model_id": 5867
}
]

File diff suppressed because it is too large Load Diff

28772
database/data/order_items.json Normal file

File diff suppressed because it is too large Load Diff

33023
database/data/orders.json Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

338626
database/data/products.json Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,716 @@
[
{
"id": 1,
"region": "ah",
"name": "{\"en\": \"Ak bugday\", \"ru\": \"Ак бугдай\", \"tk\": \"Ak bugdaý\"}",
"created_at": "2022-11-15 14:24:55",
"updated_at": "2022-11-15 14:24:55"
},
{
"id": 2,
"region": "ah",
"name": "{\"en\": \"Tejen\", \"ru\": \"Теджен\", \"tk\": \"Tejen\"}",
"created_at": "2022-11-15 14:26:35",
"updated_at": "2022-11-15 14:26:35"
},
{
"id": 3,
"region": "ah",
"name": "{\"en\": \"Kaka\", \"ru\": \"Кака\", \"tk\": \"Kaka\"}",
"created_at": "2022-11-15 14:28:01",
"updated_at": "2022-11-15 14:28:01"
},
{
"id": 4,
"region": "ag",
"name": "{\"en\": \"Bagtyyarlyk\", \"ru\": \"Багтыярлык\", \"tk\": \"Bagtyýarlyk\"}",
"created_at": "2022-11-15 15:08:49",
"updated_at": "2022-11-15 15:08:49"
},
{
"id": 5,
"region": "ag",
"name": "{\"en\": \"Kopetdag\", \"ru\": \"Копетдаг\", \"tk\": \"Köpetdag\"}",
"created_at": "2022-11-15 15:10:33",
"updated_at": "2022-11-15 15:10:33"
},
{
"id": 6,
"region": "ag",
"name": "{\"en\": \"Berkararlyk\", \"ru\": \"Беркарарлык\", \"tk\": \"Berkararlyk\"}",
"created_at": "2022-11-15 15:11:56",
"updated_at": "2022-11-15 15:11:56"
},
{
"id": 7,
"region": "ag",
"name": "{\"en\": \"Buzmeyin\", \"ru\": \"Бузмеин\", \"tk\": \"Büzmeýin\"}",
"created_at": "2022-11-15 15:13:11",
"updated_at": "2022-11-15 15:13:11"
},
{
"id": 8,
"region": "ah",
"name": "{\"en\": \"Babadayhan\", \"ru\": \"Бабадайхан\", \"tk\": \"Babadaýhan\"}",
"created_at": "2022-11-15 15:18:43",
"updated_at": "2022-11-15 15:18:43"
},
{
"id": 9,
"region": "ah",
"name": "{\"en\": \"Gokdepe\", \"ru\": \"Геёкдепе\", \"tk\": \"Gökdepe\"}",
"created_at": "2022-11-15 15:20:02",
"updated_at": "2022-11-15 15:20:02"
},
{
"id": 10,
"region": "ah",
"name": "{\"en\": \"Baherden\", \"ru\": \"Бахерден\", \"tk\": \"Bäherden\"}",
"created_at": "2022-11-15 15:21:20",
"updated_at": "2022-11-15 15:21:20"
},
{
"id": 11,
"region": "ah",
"name": "{\"en\": \"Sarahs\", \"ru\": \"Сарахс\", \"tk\": \"Sarahs\"}",
"created_at": "2022-11-15 15:23:04",
"updated_at": "2022-11-15 15:23:04"
},
{
"id": 12,
"region": "mr",
"name": "{\"en\": \"Mary\", \"ru\": \"Мары\", \"tk\": \"Mary\"}",
"created_at": "2022-11-15 15:24:10",
"updated_at": "2022-11-15 15:24:10"
},
{
"id": 13,
"region": "mr",
"name": "{\"en\": \"Garagum\", \"ru\": \"Гарагум\", \"tk\": \"Garagum\"}",
"created_at": "2022-11-15 15:25:22",
"updated_at": "2022-11-15 15:25:22"
},
{
"id": 14,
"region": "mr",
"name": "{\"en\": \"Vekilbazar\", \"ru\": \"Векилбазар\", \"tk\": \"Wekilbazar\"}",
"created_at": "2022-11-15 15:26:42",
"updated_at": "2022-11-15 15:26:42"
},
{
"id": 15,
"region": "mr",
"name": "{\"en\": \"Yoloten\", \"ru\": \"Ёлотен\", \"tk\": \"Yolöten\"}",
"created_at": "2022-11-15 15:27:45",
"updated_at": "2022-11-15 15:27:45"
},
{
"id": 16,
"region": "mr",
"name": "{\"en\": \"Bayramaly\", \"ru\": \"Байрамалы\", \"tk\": \"Baýramaly\"}",
"created_at": "2022-11-15 15:28:49",
"updated_at": "2022-11-15 15:28:49"
},
{
"id": 17,
"region": "mr",
"name": "{\"en\": \"Murgap\", \"ru\": \"Мургап\", \"tk\": \"Murgap\"}",
"created_at": "2022-11-15 15:30:27",
"updated_at": "2022-11-15 15:30:27"
},
{
"id": 18,
"region": "mr",
"name": "{\"en\": \"Sakarchage\", \"ru\": \"Сакарчаге\", \"tk\": \"Sakarçäge\"}",
"created_at": "2022-11-15 15:31:42",
"updated_at": "2022-11-15 15:31:42"
},
{
"id": 19,
"region": "mr",
"name": "{\"en\": \"Tagtabazar\", \"ru\": \"Тагтабазар\", \"tk\": \"Tagtabazar\"}",
"created_at": "2022-11-15 15:32:53",
"updated_at": "2022-11-15 15:32:53"
},
{
"id": 20,
"region": "mr",
"name": "{\"en\": \"Turkmengala\", \"ru\": \"Туркменгала\", \"tk\": \"Türkmengala\"}",
"created_at": "2022-11-15 15:33:59",
"updated_at": "2022-11-15 15:33:59"
},
{
"id": 21,
"region": "bn",
"name": "{\"en\": \"Etrek\", \"ru\": \"Етрек\", \"tk\": \"Etrek\"}",
"created_at": "2022-11-15 15:35:37",
"updated_at": "2022-11-15 15:35:37"
},
{
"id": 22,
"region": "bn",
"name": "{\"en\": \"Turkmenbashy\", \"ru\": \"Туркменбащы\", \"tk\": \"Türkmenbaşy\"}",
"created_at": "2022-11-15 15:38:29",
"updated_at": "2022-11-15 15:38:29"
},
{
"id": 23,
"region": "bn",
"name": "{\"en\": \"Esenguly\", \"ru\": \"Эсенгулы\", \"tk\": \"Esenguly\"}",
"created_at": "2022-11-15 15:39:37",
"updated_at": "2022-11-15 15:39:37"
},
{
"id": 24,
"region": "bn",
"name": "{\"en\": \"Gyzylarbat\", \"ru\": \"Гызыларбат\", \"tk\": \"Gyzylarbat\"}",
"created_at": "2022-11-15 15:40:50",
"updated_at": "2022-11-15 15:40:50"
},
{
"id": 25,
"region": "bn",
"name": "{\"en\": \"Bereket\", \"ru\": \"Берекет\", \"tk\": \"Bereket\"}",
"created_at": "2022-11-15 15:41:39",
"updated_at": "2022-11-15 15:41:39"
},
{
"id": 26,
"region": "bn",
"name": "{\"en\": \"Magtymguly\", \"ru\": \"Магтымгулы\", \"tk\": \"Magtymguly\"}",
"created_at": "2022-11-15 15:42:46",
"updated_at": "2022-11-15 15:42:46"
},
{
"id": 27,
"region": "dz",
"name": "{\"en\": \"Gorogly\", \"ru\": \"Гёроглы\", \"tk\": \"Görogly\"}",
"created_at": "2022-11-15 15:44:05",
"updated_at": "2022-11-15 15:44:05"
},
{
"id": 28,
"region": "dz",
"name": "{\"en\": \"Akdepe\", \"ru\": \"Aкдепе\", \"tk\": \"Akdepe\"}",
"created_at": "2022-11-15 15:44:53",
"updated_at": "2022-11-15 15:44:53"
},
{
"id": 29,
"region": "dz",
"name": "{\"en\": \"Ruhybelent\", \"ru\": \"Рухыбелент\", \"tk\": \"Ruhybelent\"}",
"created_at": "2022-11-15 15:45:43",
"updated_at": "2022-11-15 15:45:43"
},
{
"id": 30,
"region": "dz",
"name": "{\"en\": \"Boldumsaz\", \"ru\": \"Болдумсаз\", \"tk\": \"Boldumsaz\"}",
"created_at": "2022-11-15 15:46:38",
"updated_at": "2022-11-15 15:46:38"
},
{
"id": 31,
"region": "dz",
"name": "{\"en\": \"Koneurgench\", \"ru\": \"Конеугенч\", \"tk\": \"Köneürgenç\"}",
"created_at": "2022-11-15 15:48:00",
"updated_at": "2022-11-15 15:48:00"
},
{
"id": 32,
"region": "dz",
"name": "{\"en\": \"Shabat\", \"ru\": \"Шабать\", \"tk\": \"Gubadag\"}",
"created_at": "2022-11-15 15:48:46",
"updated_at": "2022-12-03 10:08:32"
},
{
"id": 33,
"region": "dz",
"name": "{\"en\": \"S.Turkmenbashy\", \"ru\": \"С.Туркменбащы\", \"tk\": \"S.Türkmenbaşy\"}",
"created_at": "2022-11-15 15:50:34",
"updated_at": "2022-12-03 10:13:38"
},
{
"id": 34,
"region": "lb",
"name": "{\"en\": \"Charjev\", \"ru\": \"Чарджев\", \"tk\": \"Çärjew\"}",
"created_at": "2022-11-15 15:52:33",
"updated_at": "2022-11-15 15:52:33"
},
{
"id": 35,
"region": "lb",
"name": "{\"en\": \"Halach\", \"ru\": \"Халач\", \"tk\": \"Halaç\"}",
"created_at": "2022-11-15 15:53:16",
"updated_at": "2022-11-15 15:53:16"
},
{
"id": 36,
"region": "lb",
"name": "{\"en\": \"Hojambaz\", \"ru\": \"Ходжамбаз\", \"tk\": \"Hojambaz\"}",
"created_at": "2022-11-15 15:54:20",
"updated_at": "2022-11-15 15:54:20"
},
{
"id": 37,
"region": "lb",
"name": "{\"en\": \"Kerki\", \"ru\": \"Керки\", \"tk\": \"Kerki\"}",
"created_at": "2022-11-15 15:55:09",
"updated_at": "2022-11-15 15:55:09"
},
{
"id": 38,
"region": "lb",
"name": "{\"en\": \"Darganata\", \"ru\": \"Дарганата\", \"tk\": \"Darganata\"}",
"created_at": "2022-11-15 15:56:01",
"updated_at": "2022-11-15 15:56:01"
},
{
"id": 39,
"region": "lb",
"name": "{\"en\": \"Danev\", \"ru\": \"Данев\", \"tk\": \"Dänew\"}",
"created_at": "2022-11-15 15:57:20",
"updated_at": "2022-11-15 15:57:20"
},
{
"id": 40,
"region": "lb",
"name": "{\"en\": \"Sayat\", \"ru\": \"Саят\", \"tk\": \"Saýat\"}",
"created_at": "2022-11-15 15:58:08",
"updated_at": "2022-11-15 15:58:08"
},
{
"id": 41,
"region": "lb",
"name": "{\"en\": \"Koytendag\", \"ru\": \"Койтендаг\", \"tk\": \"Köýtendag\"}",
"created_at": "2022-11-15 15:58:58",
"updated_at": "2022-11-15 15:58:58"
},
{
"id": 42,
"region": "ah",
"name": "{\"en\": \"Altyn asyr c.\", \"ru\": \"Aлтын асыр г.\", \"tk\": \"Altyn asyr ş.\"}",
"created_at": "2022-11-15 16:44:54",
"updated_at": "2022-11-15 16:47:40"
},
{
"id": 43,
"region": "ah",
"name": "{\"en\": \"Anev c.\", \"ru\": \"Аннау г.\", \"tk\": \"Änew ş.\"}",
"created_at": "2022-11-15 16:46:43",
"updated_at": "2022-11-15 16:46:43"
},
{
"id": 44,
"region": "ah",
"name": "{\"en\": \"Dushak c.\", \"ru\": \"Душак г.\", \"tk\": \"Duşak ş.\"}",
"created_at": "2022-11-15 16:49:47",
"updated_at": "2022-11-15 16:50:26"
},
{
"id": 45,
"region": "bn",
"name": "{\"en\": \"Balkanaabat c.\", \"ru\": \"Балканабат г.\", \"tk\": \"Balkanabat ş.\"}",
"created_at": "2022-11-15 16:51:48",
"updated_at": "2022-11-15 16:51:48"
},
{
"id": 46,
"region": "bn",
"name": "{\"en\": \"Gumdag c.\", \"ru\": \"Гумдаг г.\", \"tk\": \"Gumdag ş.\"}",
"created_at": "2022-11-15 16:53:07",
"updated_at": "2022-11-15 16:53:07"
},
{
"id": 47,
"region": "bn",
"name": "{\"en\": \"Garabogaz c.\", \"ru\": \"Гарабогаз г.\", \"tk\": \"Garabogaz ş.\"}",
"created_at": "2022-11-15 16:54:31",
"updated_at": "2022-11-15 16:54:31"
},
{
"id": 48,
"region": "bn",
"name": "{\"en\": \"Hazar c.\", \"ru\": \"Хазар г.\", \"tk\": \"Hazar ş.\"}",
"created_at": "2022-11-15 16:55:40",
"updated_at": "2022-11-15 16:55:40"
},
{
"id": 49,
"region": "lb",
"name": "{\"en\": \"Sakar c.\", \"ru\": \"Cакар г.\", \"tk\": \"Sakar ş\"}",
"created_at": "2022-11-15 17:06:13",
"updated_at": "2022-11-15 17:06:13"
},
{
"id": 50,
"region": "lb",
"name": "{\"en\": \"Seydi c.\", \"ru\": \"Сейди г.\", \"tk\": \"Seýdi ş.\"}",
"created_at": "2022-11-15 17:07:17",
"updated_at": "2022-11-15 17:07:17"
},
{
"id": 51,
"region": "lb",
"name": "{\"en\": \"Dostlyk c.\", \"ru\": \"Достлык г.\", \"tk\": \"Dostluk ş.\"}",
"created_at": "2022-11-15 17:08:27",
"updated_at": "2022-11-15 17:08:27"
},
{
"id": 52,
"region": "mr",
"name": "{\"en\": \"Murgap\", \"ru\": \"Мургап\", \"tk\": \"Murgap\"}",
"created_at": "2022-11-15 17:09:29",
"updated_at": "2022-11-15 17:09:29"
},
{
"id": 53,
"region": "lb",
"name": "{\"en\": \"Garabekrevul c.\", \"ru\": \"Гарабекевул г.\", \"tk\": \"Garabekewül ş.\"}",
"created_at": "2022-11-15 17:11:41",
"updated_at": "2022-11-16 09:02:15"
},
{
"id": 54,
"region": "dz",
"name": "{\"en\": \"Gurbansoltan Eje\", \"ru\": \"Гурбансолтан эдже\", \"tk\": \"Gurbansoltan Eje\"}",
"created_at": "2022-12-03 10:10:57",
"updated_at": "2022-12-03 10:10:57"
},
{
"id": 55,
"region": "dz",
"name": "{\"en\": \"S.Nyýazow\", \"ru\": \"С,Ныязов\", \"tk\": \"S.Nyýazow\"}",
"created_at": "2022-12-03 10:12:31",
"updated_at": "2022-12-03 10:12:31"
},
{
"id": 56,
"region": "dz",
"name": "{\"en\": \"Dashoguz s.\", \"ru\": \"Дашогуз г.\", \"tk\": \"Daşoguz ş.\"}",
"created_at": "2023-01-18 11:00:24",
"updated_at": "2023-01-18 11:00:24"
},
{
"id": 58,
"region": "ah",
"name": "{\"en\": \"Watan f/u\", \"ru\": \"Ватан с/ф\", \"tk\": \"Watan d/b\"}",
"created_at": "2023-05-23 14:31:44",
"updated_at": "2023-05-23 14:45:56"
},
{
"id": 59,
"region": "ah",
"name": "{\"en\": \"A blessed town\", \"ru\": \"Берекет г.\", \"tk\": \"Bereket ş.\"}",
"created_at": "2023-05-23 15:47:26",
"updated_at": "2023-05-23 15:47:26"
},
{
"id": 60,
"region": "ah",
"name": "{\"en\": \"Youth town\", \"ru\": \"Яшлик г.\", \"tk\": \"Ýaşlyk ş.\"}",
"created_at": "2023-05-23 15:59:14",
"updated_at": "2023-05-23 15:59:57"
},
{
"id": 61,
"region": "ah",
"name": "{\"en\": \"Altyn asyr ş.\", \"ru\": \"Altyn asyr ş.\", \"tk\": \"Altyn asyr ş.\"}",
"created_at": "2023-05-23 16:09:54",
"updated_at": "2023-05-23 16:09:54"
},
{
"id": 62,
"region": "ah",
"name": "{\"en\": \"Small brother village\", \"ru\": \"Деревня младшего брата\", \"tk\": \"Kiçi aga obasy\"}",
"created_at": "2023-05-23 16:22:25",
"updated_at": "2023-05-23 16:22:25"
},
{
"id": 63,
"region": "ah",
"name": "{\"en\": \"Truth Farmers Union\", \"ru\": \"Правда с/ф\", \"tk\": \"Hakykat d/b\"}",
"created_at": "2023-05-23 16:45:22",
"updated_at": "2023-05-23 16:45:22"
},
{
"id": 64,
"region": "ah",
"name": "{\"en\": \"Bed City\", \"ru\": \"Бед Сити\", \"tk\": \"Duşak ş.\"}",
"created_at": "2023-05-23 16:49:30",
"updated_at": "2023-05-23 16:49:30"
},
{
"id": 65,
"region": "ah",
"name": "{\"en\": \"White Gold Consulting\", \"ru\": \"Консалтинг Белого Золота\", \"tk\": \"Ak Altyn g.\"}",
"created_at": "2023-05-23 17:02:49",
"updated_at": "2023-05-23 17:02:49"
},
{
"id": 66,
"region": "ah",
"name": "{\"en\": \"\\\"Hasyl\\\" f/a\", \"ru\": \"«Хасыл» a/ф\", \"tk\": \"Hasyl d/b\"}",
"created_at": "2023-05-23 17:11:00",
"updated_at": "2023-05-23 17:11:00"
},
{
"id": 67,
"region": "ah",
"name": "{\"en\": \"Zahmet Farmers Union\", \"ru\": \"Захмет c/ф\", \"tk\": \"Zähmet d/b\"}",
"created_at": "2023-05-23 17:16:37",
"updated_at": "2023-05-23 17:16:37"
},
{
"id": 68,
"region": "bn",
"name": "{\"en\": \"Jebel t.\", \"ru\": \"Джебель ш.\", \"tk\": \"Jebel ş.\"}",
"created_at": "2023-05-24 16:33:15",
"updated_at": "2023-05-24 16:39:39"
},
{
"id": 69,
"region": "bn",
"name": "{\"en\": \"Edge\", \"ru\": \"Кенар\", \"tk\": \"Kenar\"}",
"created_at": "2023-05-24 17:23:40",
"updated_at": "2023-05-24 17:23:40"
},
{
"id": 70,
"region": "bn",
"name": "{\"en\": \"Serdar\", \"ru\": \"Сердар\", \"tk\": \"Serdar\"}",
"created_at": "2023-05-25 16:36:42",
"updated_at": "2023-05-25 16:36:42"
},
{
"id": 71,
"region": "bn",
"name": "{\"en\": \"Ekerem şäherçe\", \"ru\": \"Экерем ш.\", \"tk\": \"Ekerem şäherçe\"}",
"created_at": "2023-05-25 16:53:18",
"updated_at": "2023-05-25 16:53:18"
},
{
"id": 72,
"region": "bn",
"name": "{\"en\": \"Garadepe ş.\", \"ru\": \"Гарадепе ш.\", \"tk\": \"Garadepe ş.\"}",
"created_at": "2023-05-25 17:09:27",
"updated_at": "2023-05-25 17:09:27"
},
{
"id": 73,
"region": "dz",
"name": "{\"en\": \"Bagtyýar zaman oba\", \"ru\": \"Багтыйар заман село\", \"tk\": \"Bagtyýar zaman oba\"}",
"created_at": "2023-05-26 15:15:20",
"updated_at": "2023-05-26 15:15:20"
},
{
"id": 74,
"region": "dz",
"name": "{\"en\": \"Al Horezmi\", \"ru\": \"Ал Хорезми\", \"tk\": \"Al Horezmi\"}",
"created_at": "2023-05-26 15:37:43",
"updated_at": "2023-05-26 15:37:43"
},
{
"id": 75,
"region": "dz",
"name": "{\"en\": \"Jeýhun\", \"ru\": \"Джейхун\", \"tk\": \"Jeýhun\"}",
"created_at": "2023-05-26 15:58:35",
"updated_at": "2023-05-26 15:58:35"
},
{
"id": 76,
"region": "dz",
"name": "{\"en\": \"Azady\", \"ru\": \"Азады\", \"tk\": \"Azady\"}",
"created_at": "2023-05-26 16:12:52",
"updated_at": "2023-05-26 16:12:52"
},
{
"id": 77,
"region": "dz",
"name": "{\"en\": \"Baýramhan\", \"ru\": \"Байрамхан\", \"tk\": \"Baýramhan\"}",
"created_at": "2023-05-26 16:21:31",
"updated_at": "2023-05-26 16:21:31"
},
{
"id": 78,
"region": "dz",
"name": "{\"en\": \"Ruhnama\", \"ru\": \"Рухнама\", \"tk\": \"Ruhnama\"}",
"created_at": "2023-05-29 14:53:11",
"updated_at": "2023-05-29 14:53:11"
},
{
"id": 79,
"region": "dz",
"name": "{\"en\": \"Magtymguly\", \"ru\": \"Махтумкули\", \"tk\": \"Magtymguly\"}",
"created_at": "2023-05-29 14:58:36",
"updated_at": "2023-05-29 14:58:36"
},
{
"id": 80,
"region": "dz",
"name": "{\"en\": \"Ýalkym\", \"ru\": \"Ялкым\", \"tk\": \"Ýalkym\"}",
"created_at": "2023-05-29 15:03:57",
"updated_at": "2023-05-29 15:03:57"
},
{
"id": 81,
"region": "dz",
"name": "{\"en\": \"Türkmenbaşy şaýoly\", \"ru\": \"Туркменбаши шайолы\", \"tk\": \"Türkmenbaşy şaýoly\"}",
"created_at": "2023-05-29 15:26:24",
"updated_at": "2023-05-29 15:28:05"
},
{
"id": 82,
"region": "dz",
"name": "{\"en\": \"Oguzhan\", \"ru\": \"Огузхан\", \"tk\": \"Oguzhan\"}",
"created_at": "2023-05-29 15:36:50",
"updated_at": "2023-05-29 15:36:50"
},
{
"id": 83,
"region": "lb",
"name": "{\"en\": \"Türkmenabat ş\", \"ru\": \"Туркменабат ш\", \"tk\": \"Türkmenabat ş\"}",
"created_at": "2023-05-29 15:55:51",
"updated_at": "2023-05-29 15:55:51"
},
{
"id": 84,
"region": "lb",
"name": "{\"en\": \"Farap\", \"ru\": \"Фарап\", \"tk\": \"Farap\"}",
"created_at": "2023-05-30 15:09:46",
"updated_at": "2023-05-30 15:09:46"
},
{
"id": 85,
"region": "lb",
"name": "{\"en\": \"Döwletli\", \"ru\": \"Довлетли\", \"tk\": \"Döwletli\"}",
"created_at": "2023-05-30 17:34:41",
"updated_at": "2023-05-30 17:34:41"
},
{
"id": 86,
"region": "mr",
"name": "{\"en\": \"Mollanepes k.\", \"ru\": \"Молланепес к.\", \"tk\": \"Mollanepes k.\"}",
"created_at": "2023-06-01 14:46:03",
"updated_at": "2023-06-01 14:46:03"
},
{
"id": 87,
"region": "mr",
"name": "{\"en\": \"Parahatlyk k.\", \"ru\": \"Парахатлык к.\", \"tk\": \"Parahatlyk k.\"}",
"created_at": "2023-06-01 14:49:45",
"updated_at": "2023-06-01 14:49:45"
},
{
"id": 88,
"region": "mr",
"name": "{\"en\": \"Kemine k.\", \"ru\": \"Кемине к.\", \"tk\": \"Kemine k.\"}",
"created_at": "2023-06-01 14:56:09",
"updated_at": "2023-06-01 14:56:09"
},
{
"id": 89,
"region": "mr",
"name": "{\"en\": \"Bagtyýarlyk k.\", \"ru\": \"Багтыярлык к.\", \"tk\": \"Bagtyýarlyk k.\"}",
"created_at": "2023-06-01 15:03:22",
"updated_at": "2023-06-01 15:03:22"
},
{
"id": 90,
"region": "mr",
"name": "{\"en\": \"Güneş ş.\", \"ru\": \"Гюнеш ш.\", \"tk\": \"Güneş ş.\"}",
"created_at": "2023-06-01 15:14:30",
"updated_at": "2023-06-01 15:14:30"
},
{
"id": 91,
"region": "mr",
"name": "{\"en\": \"Türkmenbaşy ş.\", \"ru\": \"Туркменбаши ш.\", \"tk\": \"Türkmenbaşy ş.\"}",
"created_at": "2023-06-01 15:24:42",
"updated_at": "2023-06-01 15:24:42"
},
{
"id": 92,
"region": "mr",
"name": "{\"en\": \"Şatlyk ş\", \"ru\": \"Шатлык ш\", \"tk\": \"Şatlyk ş\"}",
"created_at": "2023-06-01 15:40:12",
"updated_at": "2023-06-01 15:40:12"
},
{
"id": 93,
"region": "mr",
"name": "{\"en\": \"Oguzhan ş.\", \"ru\": \"Огузхан ш.\", \"tk\": \"Oguzhan ş.\"}",
"created_at": "2023-06-01 16:25:28",
"updated_at": "2023-06-01 16:25:28"
},
{
"id": 94,
"region": "mr",
"name": "{\"en\": \"Oguzhan\", \"ru\": \"Огузхан\", \"tk\": \"Oguzhan\"}",
"created_at": "2023-06-01 16:31:14",
"updated_at": "2023-06-01 16:31:14"
},
{
"id": 95,
"region": "mr",
"name": "{\"en\": \"Hakykat d/b\", \"ru\": \"Хакукат д/б\", \"tk\": \"Hakykat d/b\"}",
"created_at": "2023-06-01 16:37:04",
"updated_at": "2023-06-01 16:37:04"
},
{
"id": 96,
"region": "mr",
"name": "{\"en\": \"Peşanaly ş.\", \"ru\": \"Пешаналы ш.\", \"tk\": \"Peşanaly ş.\"}",
"created_at": "2023-06-01 16:48:10",
"updated_at": "2023-06-01 16:48:10"
},
{
"id": 97,
"region": "mr",
"name": "{\"en\": \"Türkmengala ş\", \"ru\": \"Туркменгала ш.\", \"tk\": \"Türkmengala ş\"}",
"created_at": "2023-06-02 15:09:50",
"updated_at": "2023-06-02 15:09:50"
},
{
"id": 98,
"region": "mr",
"name": "{\"en\": \"Nurana Gurbanmyradow d/b\", \"ru\": \"Нурана Гурбанмурадов д/б\", \"tk\": \"Nurana Gurbanmyradow d/b\"}",
"created_at": "2023-06-02 15:34:15",
"updated_at": "2023-06-02 15:34:15"
},
{
"id": 99,
"region": "mr",
"name": "{\"en\": \"746470 +993 632 8-41-68\", \"ru\": \"Сариязи д/б\", \"tk\": \"Saryýazy d/b\"}",
"created_at": "2023-06-02 16:33:22",
"updated_at": "2023-06-02 16:33:22"
},
{
"id": 100,
"region": "mr",
"name": "{\"en\": \"746500 +993 624 5-43-97\", \"ru\": \"Сариджа\", \"tk\": \"Saryja\"}",
"created_at": "2023-06-02 16:36:09",
"updated_at": "2023-06-02 16:36:09"
},
{
"id": 101,
"region": "mr",
"name": "{\"en\": \"Serhatabat ş.\", \"ru\": \"Серхетабат ш.\", \"tk\": \"Serhatabat ş.\"}",
"created_at": "2023-06-02 16:48:42",
"updated_at": "2023-06-02 16:48:42"
},
{
"id": 102,
"region": "mr",
"name": "{\"en\": \"Ýeňiş d/b\", \"ru\": \"Йениш д/б\", \"tk\": \"Ýeňiş d/b\"}",
"created_at": "2023-06-02 16:52:04",
"updated_at": "2023-06-02 16:52:04"
},
{
"id": 103,
"region": "mr",
"name": "{\"en\": \"Serhetabat etr\", \"ru\": \"Серхетабат\", \"tk\": \"Serhetabat etr\"}",
"created_at": "2023-06-02 16:56:52",
"updated_at": "2023-06-02 16:56:52"
}
]

128
database/data/reviews.json Normal file
View File

@@ -0,0 +1,128 @@
[
{
"id": 18,
"created_at": "2022-10-12 09:09:10",
"updated_at": "2022-10-14 19:36:09",
"is_recommended": false,
"rating": 5,
"title": "gaty gowy maslahat beryäs",
"content": null,
"approved": true,
"reviewrateable_type": "product",
"reviewrateable_id": 525,
"author_type": "App\\Models\\User",
"author_id": 750
},
{
"id": 19,
"created_at": "2023-06-06 12:29:41",
"updated_at": "2023-10-10 09:04:49",
"is_recommended": false,
"rating": 5,
"title": "gaty gowy haryt maslahat beryan",
"content": null,
"approved": true,
"reviewrateable_type": "product",
"reviewrateable_id": 5018,
"author_type": "App\\Models\\User",
"author_id": 2235
},
{
"id": 20,
"created_at": "2023-09-06 19:39:32",
"updated_at": "2023-10-10 09:04:44",
"is_recommended": false,
"rating": 5,
"title": "Gaty gowy masaž edýär. Haryt bahasy arzan",
"content": null,
"approved": true,
"reviewrateable_type": "product",
"reviewrateable_id": 9954,
"author_type": "App\\Models\\User",
"author_id": 340
},
{
"id": 21,
"created_at": "2023-09-16 17:12:29",
"updated_at": null,
"is_recommended": false,
"rating": 5,
"title": "1234567890111213",
"content": null,
"approved": false,
"reviewrateable_type": "product",
"reviewrateable_id": 9677,
"author_type": "App\\Models\\User",
"author_id": 6104
},
{
"id": 22,
"created_at": "2023-09-19 10:30:06",
"updated_at": "2023-10-10 09:04:38",
"is_recommended": false,
"rating": 5,
"title": "хорошо и хорошо",
"content": null,
"approved": true,
"reviewrateable_type": "product",
"reviewrateable_id": 5216,
"author_type": "App\\Models\\User",
"author_id": 6232
},
{
"id": 23,
"created_at": "2023-10-02 18:46:30",
"updated_at": "2023-10-10 09:04:31",
"is_recommended": false,
"rating": 4,
"title": "5 берекелла с плюсом",
"content": null,
"approved": true,
"reviewrateable_type": "product",
"reviewrateable_id": 8670,
"author_type": "App\\Models\\User",
"author_id": 6636
},
{
"id": 24,
"created_at": "2023-11-03 10:58:38",
"updated_at": "2023-11-10 17:52:13",
"is_recommended": false,
"rating": 5,
"title": "Gaty gowy haryt maşynly adamlara maslahat berýän",
"content": null,
"approved": true,
"reviewrateable_type": "product",
"reviewrateable_id": 10077,
"author_type": "App\\Models\\User",
"author_id": 836
},
{
"id": 25,
"created_at": "2023-11-20 12:46:20",
"updated_at": "2023-11-20 17:22:08",
"is_recommended": false,
"rating": 5,
"title": "test",
"content": null,
"approved": false,
"reviewrateable_type": "product",
"reviewrateable_id": 10077,
"author_type": "App\\Models\\User",
"author_id": 2
},
{
"id": 26,
"created_at": "2023-11-20 12:47:32",
"updated_at": "2023-11-20 17:22:07",
"is_recommended": false,
"rating": 2,
"title": "hehhshhshhshhdhhd",
"content": null,
"approved": false,
"reviewrateable_type": "product",
"reviewrateable_id": 10077,
"author_type": "App\\Models\\User",
"author_id": 5288
}
]

52
database/data/roles.json Normal file
View File

@@ -0,0 +1,52 @@
[
{
"id": 1,
"name": "admin",
"guard_name": "web",
"display_name": "Administrator",
"description": "Site administrator with access to shop admin panel and developer tools.",
"can_be_removed": false,
"created_at": "2022-05-25 21:22:28",
"updated_at": "2022-12-19 02:50:18"
},
{
"id": 2,
"name": "manager",
"guard_name": "web",
"display_name": "Manager",
"description": "Site manager with access to shop admin panel and publishing menus.",
"can_be_removed": false,
"created_at": "2022-05-25 21:22:28",
"updated_at": "2022-05-25 21:22:28"
},
{
"id": 3,
"name": "user",
"guard_name": "web",
"display_name": "User",
"description": "Site customer role with access on front site.",
"can_be_removed": false,
"created_at": "2022-05-25 21:22:28",
"updated_at": "2022-05-25 21:22:28"
},
{
"id": 6,
"name": "vendor",
"guard_name": "web",
"display_name": "Telekeci",
"description": "",
"can_be_removed": false,
"created_at": "2022-06-19 16:26:54",
"updated_at": "2022-07-22 15:46:32"
},
{
"id": 8,
"name": "viewer",
"guard_name": "web",
"display_name": "Gözegçi",
"description": null,
"can_be_removed": false,
"created_at": "2023-09-07 12:38:53",
"updated_at": "2023-09-07 12:38:53"
}
]

243632
database/data/users.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,39 @@
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User>
*/
class UserFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'first_name' => fake()->firstName(),
'last_name' => fake()->lastName(),
'email' => fake()->unique()->safeEmail(),
'email_verified_at' => now(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'remember_token' => Str::random(10),
];
}
/**
* Indicate that the model's email address should be unverified.
*/
public function unverified(): static
{
return $this->state(fn (array $attributes) => [
'email_verified_at' => null,
]);
}
}

View File

@@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('first_name');
$table->string('last_name');
$table->string('email')->unique()->nullable();
$table->string('phone_number')->nullable()->index();
$table->timestamp('email_verified_at')->nullable();
$table->string('password')->nullable();
$table->rememberToken();
$table->boolean('verified')->default(false);
$table->jsonb('options')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('users');
}
};

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('password_reset_tokens', function (Blueprint $table) {
$table->string('email')->primary();
$table->string('token');
$table->timestamp('created_at')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('password_reset_tokens');
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('failed_jobs', function (Blueprint $table) {
$table->id();
$table->string('uuid')->unique();
$table->text('connection');
$table->text('queue');
$table->longText('payload');
$table->longText('exception');
$table->timestamp('failed_at')->useCurrent();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('failed_jobs');
}
};

View File

@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('personal_access_tokens', function (Blueprint $table) {
$table->id();
$table->morphs('tokenable');
$table->string('name');
$table->string('token', 64)->unique();
$table->text('abilities')->nullable();
$table->timestamp('last_used_at')->nullable();
$table->timestamp('expires_at')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('personal_access_tokens');
}
};

View File

@@ -0,0 +1,32 @@
<?php
use App\Models\System\Settings\OS;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('app_versions', function (Blueprint $table) {
$table->id();
$table->string('version')->index();
$table->enum('os', array_keys(OS::types()))->index();
$table->boolean('important')->default(false);
$table->string('notes')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('mobile_app_versions');
}
};

View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('entrepreneur_docs', function (Blueprint $table) {
$table->id();
$table->string('corporation_type')->index();
$table->jsonb('corporation_name');
$table->jsonb('options')->nullable();
$table->foreignId('user_id')->constrained()->cascadeOnDelete();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('entrepreneur_docs');
}
};

View File

@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('verifications', function (Blueprint $table) {
$table->id();
$table->string('username')->index();
$table->string('code')->index();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('verifications');
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('contact_us', function (Blueprint $table) {
$table->id();
$table->string('title');
$table->string('phone')->nullable()->index();
$table->text('content')->nullable();
$table->string('type')->nullable()->index();
$table->foreignId('user_id')->nullable()->constrained()->nullOnDelete();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('contact_us');
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('currencies', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('code', 10)->index();
$table->string('symbol', 25);
$table->string('format', 50);
$table->string('exchange_rate')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('currencies');
}
};

View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('settings', function (Blueprint $table) {
$table->id();
$table->string('key')->unique();
$table->string('value')->nullable();
$table->string('display_name')->nullable();
$table->boolean('locked')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('settings');
}
};

View File

@@ -0,0 +1,30 @@
<?php
use App\Models\System\Settings\Location\Region;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('provinces', function (Blueprint $table) {
$table->id();
$table->enum('region', array_keys(Region::values()));
$table->jsonb('name');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('provinces');
}
};

View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('post_branches', function (Blueprint $table) {
$table->id();
$table->foreignId('province_id')->constrained()->cascadeOnDelete();
$table->jsonb('name');
$table->jsonb('address')->nullable();
$table->jsonb('description')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('post_branches');
}
};

View File

@@ -0,0 +1,145 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Spatie\Permission\PermissionRegistrar;
class CreatePermissionTables extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
$tableNames = config('permission.table_names');
$columnNames = config('permission.column_names');
$teams = config('permission.teams');
if (empty($tableNames)) {
throw new \Exception('Error: config/permission.php not loaded. Run [php artisan config:clear] and try again.');
}
if ($teams && empty($columnNames['team_foreign_key'] ?? null)) {
throw new \Exception('Error: team_foreign_key on config/permission.php not loaded. Run [php artisan config:clear] and try again.');
}
Schema::create($tableNames['permissions'], function (Blueprint $table) {
$table->bigIncrements('id'); // permission id
$table->string('name'); // For MySQL 8.0 use string('name', 125);
$table->string('guard_name'); // For MySQL 8.0 use string('guard_name', 125);
$table->jsonb('display_name')->nullable();
$table->jsonb('description')->nullable();
$table->timestamps();
$table->unique(['name', 'guard_name']);
});
Schema::create($tableNames['roles'], function (Blueprint $table) use ($teams, $columnNames) {
$table->bigIncrements('id'); // role id
if ($teams || config('permission.testing')) { // permission.testing is a fix for sqlite testing
$table->unsignedBigInteger($columnNames['team_foreign_key'])->nullable();
$table->index($columnNames['team_foreign_key'], 'roles_team_foreign_key_index');
}
$table->string('name'); // For MySQL 8.0 use string('name', 125);
$table->string('guard_name'); // For MySQL 8.0 use string('guard_name', 125);
$table->jsonb('display_name')->nullable();
$table->jsonb('description')->nullable();
$table->timestamps();
if ($teams || config('permission.testing')) {
$table->unique([$columnNames['team_foreign_key'], 'name', 'guard_name']);
} else {
$table->unique(['name', 'guard_name']);
}
});
Schema::create($tableNames['model_has_permissions'], function (Blueprint $table) use ($tableNames, $columnNames, $teams) {
$table->unsignedBigInteger(PermissionRegistrar::$pivotPermission);
$table->string('model_type');
$table->unsignedBigInteger($columnNames['model_morph_key']);
$table->index([$columnNames['model_morph_key'], 'model_type'], 'model_has_permissions_model_id_model_type_index');
$table->foreign(PermissionRegistrar::$pivotPermission)
->references('id') // permission id
->on($tableNames['permissions'])
->onDelete('cascade');
if ($teams) {
$table->unsignedBigInteger($columnNames['team_foreign_key']);
$table->index($columnNames['team_foreign_key'], 'model_has_permissions_team_foreign_key_index');
$table->primary([$columnNames['team_foreign_key'], PermissionRegistrar::$pivotPermission, $columnNames['model_morph_key'], 'model_type'],
'model_has_permissions_permission_model_type_primary');
} else {
$table->primary([PermissionRegistrar::$pivotPermission, $columnNames['model_morph_key'], 'model_type'],
'model_has_permissions_permission_model_type_primary');
}
});
Schema::create($tableNames['model_has_roles'], function (Blueprint $table) use ($tableNames, $columnNames, $teams) {
$table->unsignedBigInteger(PermissionRegistrar::$pivotRole);
$table->string('model_type');
$table->unsignedBigInteger($columnNames['model_morph_key']);
$table->index([$columnNames['model_morph_key'], 'model_type'], 'model_has_roles_model_id_model_type_index');
$table->foreign(PermissionRegistrar::$pivotRole)
->references('id') // role id
->on($tableNames['roles'])
->onDelete('cascade');
if ($teams) {
$table->unsignedBigInteger($columnNames['team_foreign_key']);
$table->index($columnNames['team_foreign_key'], 'model_has_roles_team_foreign_key_index');
$table->primary([$columnNames['team_foreign_key'], PermissionRegistrar::$pivotRole, $columnNames['model_morph_key'], 'model_type'],
'model_has_roles_role_model_type_primary');
} else {
$table->primary([PermissionRegistrar::$pivotRole, $columnNames['model_morph_key'], 'model_type'],
'model_has_roles_role_model_type_primary');
}
});
Schema::create($tableNames['role_has_permissions'], function (Blueprint $table) use ($tableNames) {
$table->unsignedBigInteger(PermissionRegistrar::$pivotPermission);
$table->unsignedBigInteger(PermissionRegistrar::$pivotRole);
$table->foreign(PermissionRegistrar::$pivotPermission)
->references('id') // permission id
->on($tableNames['permissions'])
->onDelete('cascade');
$table->foreign(PermissionRegistrar::$pivotRole)
->references('id') // role id
->on($tableNames['roles'])
->onDelete('cascade');
$table->primary([PermissionRegistrar::$pivotPermission, PermissionRegistrar::$pivotRole], 'role_has_permissions_permission_id_role_id_primary');
});
app('cache')
->store(config('permission.cache.store') != 'default' ? config('permission.cache.store') : null)
->forget(config('permission.cache.key'));
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
$tableNames = config('permission.table_names');
if (empty($tableNames)) {
throw new \Exception('Error: config/permission.php not found and defaults could not be merged. Please publish the package configuration before proceeding, or drop the tables manually.');
}
Schema::drop($tableNames['role_has_permissions']);
Schema::drop($tableNames['model_has_roles']);
Schema::drop($tableNames['model_has_permissions']);
Schema::drop($tableNames['roles']);
Schema::drop($tableNames['permissions']);
}
}

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('media', function (Blueprint $table) {
$table->id();
$table->morphs('model');
$table->uuid('uuid')->nullable()->unique();
$table->string('collection_name');
$table->string('name');
$table->string('file_name');
$table->string('mime_type')->nullable();
$table->string('disk');
$table->string('conversions_disk')->nullable();
$table->unsignedBigInteger('size');
$table->json('manipulations');
$table->json('custom_properties');
$table->json('generated_conversions');
$table->json('responsive_images');
$table->unsignedInteger('order_column')->nullable()->index();
$table->nullableTimestamps();
});
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('galleries', function (Blueprint $table) {
$table->id();
$table->jsonb('title')->index();
$table->jsonb('description')->nullable();
$table->boolean('is_visible')->default(true);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('galleries');
}
};

View File

@@ -0,0 +1,45 @@
<?php
use App\Models\System\Settings\OS;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('banners', function (Blueprint $table) {
$table->id();
$table->string('app')->default(OS::WEBSITE);
$table->jsonb('title')->nullable()->index();
$table->jsonb('description')->nullable();
$table->string('place')->index();
$table->text('link')->nullable();
$table->integer('resource_id')->nullable();
$table->string('resource_type')->nullable();
$table->integer('sort_order')->nullable();
$table->jsonb('options')->nullable();
$table->boolean('is_visible')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('banners_resource');
}
};

View File

@@ -0,0 +1,45 @@
<?php
use App\Models\System\Settings\OS;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('carousels', function (Blueprint $table) {
$table->id();
$table->string('app')->default(OS::WEBSITE);
$table->jsonb('title')->nullable()->index();
$table->jsonb('description')->nullable();
$table->string('place')->nullable()->index();
$table->text('link')->nullable();
$table->integer('resource_id')->nullable();
$table->string('resource_type')->nullable();
$table->integer('sort_order')->nullable();
$table->jsonb('options')->nullable();
$table->boolean('is_visible')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('carousels');
}
};

View File

@@ -0,0 +1,41 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('channels', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('slug')->unique();
$table->string('description')->nullable();
$table->string('timezone')->nullable();
$table->string('url')->nullable();
$table->boolean('is_default')->default(false);
$table->integer('sort_order')->nullable();
$table->string('channelables_type')->nullable();
$table->unsignedBigInteger('channelables_id')->nullable();
$table->boolean('is_visible')->default(true);
$table->index(['channelables_type', 'channelables_id']);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('channels');
}
};

View File

@@ -0,0 +1,41 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('brands', function (Blueprint $table) {
$table->id();
$table->string('name')->index();
$table->string('slug')->unique();
$table->string('website')->nullable();
$table->jsonb('description')->nullable();
$table->string('type')->nullable();
$table->integer('sort_order')->nullable();
$table->string('seo_title')->nullable();
$table->string('seo_description')->nullable();
$table->boolean('is_visible')->default(true);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('brands');
}
};

View File

@@ -0,0 +1,42 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('categories', function (Blueprint $table) {
$table->id();
$table->foreignId('parent_id')->nullable()->constrained('categories')->cascadeOnDelete();
$table->jsonb('name');
$table->string('slug')->unique();
$table->string('type')->nullable()->index();
$table->longText('description')->nullable();
$table->integer('tax_percentage')->nullable();
$table->string('seo_title')->nullable();
$table->string('seo_description')->nullable();
$table->integer('sort_order')->nullable();
$table->boolean('is_visible')->default(false);
$table->jsonb('options')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('categories');
}
};

View File

@@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('collections', function (Blueprint $table) {
$table->id();
$table->jsonb('name');
$table->string('slug')->unique();
$table->jsonb('description')->nullable();
$table->integer('sort_order')->nullable();
$table->string('seo_title')->nullable();
$table->string('seo_description')->nullable();
$table->boolean('is_visible')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('collections');
}
};

View File

@@ -0,0 +1,47 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('inventories', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('code')->unique();
$table->string('description')->nullable();
$table->string('email')->nullable();
$table->string('phone_number')->nullable();
$table->string('street_address')->nullable();
$table->integer('zipcode')->nullable();
$table->string('region');
$table->foreignId('province_id')->nullable()->constrained()->cascadeOnDelete();
$table->string('longitude')->nullable();
$table->string('latitude')->nullable();
$table->boolean('is_default')->default(false);
$table->foreignId('channel_id')->nullable()->constrained()->cascadeOnDelete();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('inventories');
}
};

View File

@@ -0,0 +1,50 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('products', function (Blueprint $table) {
$table->id();
$table->foreignId('parent_id')->nullable()->constrained('products')->cascadeOnDelete();
$table->foreignId('brand_id')->nullable()->constrained('brands')->cascadeOnDelete();
$table->string('name')->index();
$table->string('slug')->unique();
$table->text('description')->nullable();
$table->string('sku')->index()->nullable(); // "Unique" ???
$table->string('barcode')->index()->nullable(); // "Unique" ???
$table->integer('stock')->nullable()->default(0);
$table->integer('security_stock')->nullable()->default(0);
$table->decimal('old_price_amount', 15, 2)->nullable();
$table->decimal('price_amount', 15, 2)->nullable();
$table->decimal('cost_amount', 15, 2)->nullable();
$table->string('seo_title')->nullable();
$table->string('seo_description')->nullable();
$table->jsonb('options')->nullable();
$table->boolean('is_visible')->default(true);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('products');
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('cart_items', function (Blueprint $table) {
$table->id();
$table->foreignId('user_id')->constrained()->cascadeOnDelete();
$table->foreignId('product_id')->constrained()->cascadeOnDelete();
$table->integer('product_quantity');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('cart_items');
}
};

View File

@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('favorites', function (Blueprint $table) {
$table->id();
$table->foreignId('user_id')->constrained()->cascadeOnDelete();
$table->foreignId('product_id')->constrained()->cascadeOnDelete();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('favorites');
}
};

View File

@@ -0,0 +1,75 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('attributes', function (Blueprint $table) {
$table->id();
$table->string('slug')->unique();
$table->jsonb('name');
$table->jsonb('description')->nullable();
$table->string('type');
$table->boolean('is_visible')->default(false);
$table->boolean('is_required')->default(false);
$table->boolean('is_searchable')->default(false);
$table->boolean('is_filterable')->default(false);
$table->integer('sort_order')->nullable();
$table->timestamps();
});
Schema::create('attribute_values', function (Blueprint $table) {
$table->id();
$table->jsonb('value');
$table->string('key')->unique();
$table->foreignId('attribute_id')->constrained()->cascadeOnDelete();
$table->integer('sort_order')->nullable();
$table->timestamps();
});
Schema::create('product_attributes', function (Blueprint $table) {
$table->id();
$table->foreignId('product_id')->constrained()->cascadeOnDelete();
$table->foreignId('attribute_id')->constrained()->cascadeOnDelete();
});
Schema::create('attribute_value_product_attribute', function (Blueprint $table) {
$table->id();
$table->foreignId('attribute_value_id')->nullable()->constrained()->cascadeOnDelete();
$table->foreignId('product_attribute_id')->constrained()->cascadeOnDelete();
$table->string('product_custom_value')->nullable();
});
Schema::create('attribute_category', function (Blueprint $table) {
$table->id();
$table->foreignId('attribute_id')->constrained('attributes')->cascadeOnDelete();
$table->foreignId('category_id')->constrained('categories')->cascadeOnDelete();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('attributes');
Schema::dropIfExists('attribute_values');
Schema::dropIfExists('product_attributes');
Schema::dropIfExists('attribute_value_product_attribute');
Schema::dropIfExists('attribute_category');
}
};

View File

@@ -0,0 +1,47 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('orders', function (Blueprint $table) {
$table->id();
$table->string('number');
$table->string('status');
$table->string('shipping_method');
$table->string('payment_type');
$table->string('notes')->nullable();
$table->string('customer_name');
$table->string('customer_phone');
$table->string('customer_address');
$table->string('delivery_time');
$table->date('delivery_at');
$table->string('region');
$table->foreignId('user_id')->nullable()->constrained()->cascadeOnDelete();
$table->foreignId('province_id')->nullable()->constrained()->cascadeOnDelete();
$table->softDeletes();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('orders');
}
};

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('newsletter_users', function (Blueprint $table) {
$table->id();
$table->string('email')->unique();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('newsletter_users');
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('newsletters', function (Blueprint $table) {
$table->id();
$table->string('subject');
$table->text('content');
$table->boolean('sent')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('newsletters');
}
};

View File

@@ -0,0 +1,23 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up()
{
Schema::create('deleted_models', function (Blueprint $table) {
$table->id();
$table->string('key', 40);
$table->string('model');
$table->json('values');
$table->timestamps();
$table->unique(['model', 'key']);
});
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('channelables', function (Blueprint $table) {
$table->id();
$table->foreignId('channel_id')->constrained('channels')->cascadeOnDelete();
$table->morphs('channelable');
$table->boolean('default')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('channelables');
}
};

View File

@@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('order_items', function (Blueprint $table) {
$table->id();
$table->string('product_name');
$table->foreignId('product_id')->constrained()->cascadeOnDelete();
$table->foreignId('order_id')->constrained()->cascadeOnDelete();
$table->foreignId('channel_id')->constrained()->cascadeOnDelete();
$table->integer('quantity')->default(1);
$table->string('unit_price_amount')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('order_items');
}
};

View File

@@ -0,0 +1,27 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('product_has_relations', function (Blueprint $table) {
$table->foreignId('product_id')->constrained()->cascadeOnDelete();
$table->morphs('productable');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('product_has_relations');
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('inventory_product', function (Blueprint $table) {
$table->id();
$table->foreignId('product_id')->constrained()->cascadeOnDelete();
$table->foreignId('inventory_id')->constrained('inventories')->cascadeOnDelete();
$table->integer('stock')->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('inventory_product');
}
};

View File

@@ -0,0 +1,41 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('user_addresses', function (Blueprint $table) {
$table->id();
$table->string('last_name')->nullable();
$table->string('first_name')->nullable();
$table->string('company_name')->nullable();
$table->string('street_address');
$table->string('street_address_plus')->nullable();
$table->string('zipcode')->nullable();
$table->string('city')->nullable();
$table->string('phone_number')->nullable();
$table->boolean('is_default')->default(false);
$table->string('type')->nullable();
$table->foreignId('user_id')->constrained()->cascadeOnDelete();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('user_addresses');
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('payment_types', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('code')->unique();
$table->string('tax')->nullable();
$table->boolean('is_enabled')->default(true);
$table->jsonb('options')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('payment_types');
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('orders', function (Blueprint $table) {
$table->dropColumn('payment_type');
});
Schema::table('orders', function (Blueprint $table) {
$table->foreignId('payment_type_id')->nullable()->constrained()->nullOnDelete();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('orders', function (Blueprint $table) {
$table->string('payment_type');
});
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('coupons', function (Blueprint $table) {
$table->id();
$table->string('code')->unique();
$table->string('discount_type')->default('percentage');
$table->string('discount_value');
$table->string('notes')->nullable();
$table->boolean('is_active')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('coupons');
}
};

View File

@@ -0,0 +1,39 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('reviews', function (Blueprint $table) {
$table->id();
$table->foreignId('user_id')->constrained()->cascadeOnDelete();
$table->foreignId('product_id')->constrained()->cascadeOnDelete();
$table->string('rating');
$table->string('title')->nullable();
$table->string('content')->nullable();
$table->boolean('is_visible')->default(false);
$table->boolean('is_recommended')->default(false);
$table->string('source')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('reviews');
}
};

View File

@@ -0,0 +1,62 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateViewsTable extends Migration
{
/**
* The database schema.
*
* @var \Illuminate\Support\Facades\Schema
*/
protected $schema;
/**
* The table name.
*
* @var string
*/
protected $table;
/**
* Create a new migration instance.
*
* @return void
*/
public function __construct()
{
$this->schema = Schema::connection(
config('eloquent-viewable.models.view.connection')
);
$this->table = config('eloquent-viewable.models.view.table_name');
}
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
$this->schema->create($this->table, function (Blueprint $table) {
$table->bigIncrements('id');
$table->morphs('viewable');
$table->text('visitor')->nullable();
$table->string('collection')->nullable();
$table->timestamp('viewed_at')->useCurrent();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists($this->table);
}
}

View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('legal_pages', function (Blueprint $table) {
$table->id();
$table->string('slug')->unique();
$table->jsonb('title');
$table->jsonb('content');
$table->boolean('is_active')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('legal_pages');
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('comments', function (Blueprint $table) {
$table->id();
$table->string('comment');
$table->foreignId('user_id')->nullable()->constrained()->nullOnDelete();
$table->boolean('active')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('comments');
}
};

View File

@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('comment_product', function (Blueprint $table) {
$table->id();
$table->foreignId('comment_id')->constrained()->cascadeOnDelete();
$table->foreignId('product_id')->constrained()->cascadeOnDelete();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('comment_product');
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('jobs', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('queue')->index();
$table->longText('payload');
$table->unsignedTinyInteger('attempts');
$table->unsignedInteger('reserved_at')->nullable();
$table->unsignedInteger('available_at');
$table->unsignedInteger('created_at');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('jobs');
}
};

View File

@@ -0,0 +1,41 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('orders', function (Blueprint $table) {
$table->string('number')->nullable()->change();
$table->string('status')->nullable()->change();
$table->string('shipping_method')->nullable()->change();
$table->string('customer_name')->nullable()->change();
$table->string('customer_phone')->nullable()->change();
$table->string('customer_address')->nullable()->change();
$table->string('delivery_time')->nullable()->change();
$table->date('delivery_at')->nullable()->change();
$table->string('region')->nullable()->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('orders', function (Blueprint $table) {
$table->string('delivery_time')->change();
$table->date('delivery_at')->change();
});
}
};

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('order_items', function (Blueprint $table) {
$table->string('product_name')->nullable()->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('order_items', function (Blueprint $table) {
$table->string('product_name')->change();
});
}
};

View File

@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('order_sent_notifications', function (Blueprint $table) {
$table->id();
$table->foreignId('order_id')->constrained()->cascadeOnDelete();
$table->string('phone_number')->index()->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('order_sent_notifications');
}
};

View File

@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
$table->string('first_name')->index()->change();
$table->string('last_name')->index()->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('users', function (Blueprint $table) {
$table->dropIndex(['first_name', 'last_name']);
});
}
};

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('orders', function (Blueprint $table) {
$table->string('shipping_price')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('orders', function (Blueprint $table) {
$table->string('shipping_price')->nullable();
});
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('products', function (Blueprint $table) {
$table->string('colour')->nullable();
$table->string('size')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('products', function (Blueprint $table) {
$table->dropColumn('colour');
$table->dropColumn('size');
});
}
};

View File

@@ -0,0 +1,39 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('payouts', function (Blueprint $table) {
$table->id();
$table->foreignId('channel_id')->constrained()->cascadeOnDelete();
$table->date('start_date');
$table->date('end_date');
$table->string('total_sum')->nullable();
$table->string('postshop_total')->nullable();
$table->string('entrepreneur_total')->nullable();
$table->string('notes')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('payouts');
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('payout_items', function (Blueprint $table) {
$table->id();
$table->foreignId('payout_id')->constrained()->cascadeOnDelete();
$table->foreignId('channel_id')->constrained()->cascadeOnDelete();
$table->foreignId('order_item_id')->constrained()->cascadeOnDelete();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('payout_items');
}
};

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('orders', function (Blueprint $table) {
$table->string('additional_tax')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('orders', function (Blueprint $table) {
$table->dropColumn('additional_tax');
});
}
};

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('inventories', function (Blueprint $table) {
$table->boolean('shareable')->default(false);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('inventories', function (Blueprint $table) {
$table->dropColumn('shareable');
});
}
};

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('orders', function (Blueprint $table) {
$table->string('source_app')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('orders', function (Blueprint $table) {
$table->dropColumn('source_app');
});
}
};

View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('inventory_histories', function (Blueprint $table) {
$table->id();
$table->date('date')->index();
$table->foreignId('inventory_id')->constrained()->cascadeOnDelete();
$table->foreignId('channel_id')->constrained()->cascadeOnDelete();
$table->string('notes')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('inventory_histories');
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('inventory_history_items', function (Blueprint $table) {
$table->id();
$table->foreignId('inventory_history_id')->constrained('inventory_histories')->cascadeOnDelete();
$table->foreignId('product_id')->constrained()->cascadeOnDelete();
$table->integer('quantity');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('inventory_history_items');
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('inventory_histories', function (Blueprint $table) {
$table->string('number')->nullable()->unique();
$table->string('total')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('inventory_histories', function (Blueprint $table) {
$table->dropColumn('number');
$table->dropColumn('total');
});
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('user_docs', function (Blueprint $table) {
$table->id();
$table->string('corporation_type')->nullable();
$table->string('corporation_name')->nullable();
$table->string('patent_data')->nullable();
$table->jsonb('data')->nullable();
$table->foreignId('user_id')->nullable()->constrained('users')->cascadeOnDelete();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('user_docs');
}
};

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
$table->timestamp('phone_number_verified_at')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('users', function (Blueprint $table) {
$table->dropColumn('phone_number_verified_at');
});
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('inventory_history_items', function (Blueprint $table) {
$table->string('total')->nullable();
$table->string('cost_amount')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('inventory_history_items', function (Blueprint $table) {
$table->dropColumn('total');
$table->dropColumn('cost_amount');
});
}
};

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('inventory_histories', function (Blueprint $table) {
$table->json('options')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('inventory_histories', function (Blueprint $table) {
$table->dropColumn('options');
});
}
};

View File

@@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('inventory_history_removeds', function (Blueprint $table) {
$table->id();
$table->date('date');
$table->foreignId('inventory_id')->constrained()->cascadeOnDelete();
$table->foreignId('channel_id')->constrained()->cascadeOnDelete();
$table->text('notes')->nullable();
$table->string('number')->nullable();
$table->string('total')->nullable();
$table->text('options')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('inventory_history_removeds');
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('inventory_history_removed_items', function (Blueprint $table) {
$table->id();
$table->foreignId('inventory_history_id')->constrained()->cascadeOnDelete();
$table->foreignId('product_id')->constrained()->cascadeOnDelete();
$table->integer('quantity');
$table->string('total')->nullable();
$table->string('cost_amount')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('inventory_history_removed_items');
}
};

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('order_items', function (Blueprint $table) {
$table->string('unit_cost_amount')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('order_items', function (Blueprint $table) {
$table->dropColumn('unit_cost_amount');
});
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('inventory_history_removed_items', function (Blueprint $table) {
$table->dropColumn('inventory_history_id');
$table->foreignId('inventory_history_removed_id')->constrained()->cascadeOnDelete();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('inventory_history_removed_items', function (Blueprint $table) {
$table->foreignId('inventory_history_id')->constrained()->cascadeOnDelete();
$table->dropColumn('inventory_history_removed_id')->constrained()->cascadeOnDelete();
});
}
};

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('warnings', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->text('content');
$table->string('where');
$table->text('notes')->nullable();
$table->timestamp('resolved_at')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('warnings');
}
};

View File

@@ -0,0 +1,162 @@
<?php
namespace Database\Seeders;
use Exception;
use File;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class AttributeTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$this->seedAttributes();
$this->seedAttributeValues();
$this->seedProductAttributes();
$this->seedAttributeValueProductAttribute();
$this->seedAttributeCategory();
}
/**
* Seed "attributes" table
*/
public function seedAttributes(): void
{
$datas = json_decode(File::get('database/data/attributes.json'));
$table = 'attributes';
foreach ($datas as $data) {
try {
DB::table($table)->insert([
'id' => $data->id,
'name' => $data->name,
'slug' => $data->slug,
'description' => $data->description,
'type' => $data->type,
'is_visible' => $data->is_enabled,
'is_required' => $data->is_required,
'is_searchable' => $data->is_searchable,
'is_filterable' => $data->is_filterable,
]);
} catch (Exception $e) {
info(['attributes error: ' => $e->getMessage()]);
}
}
DB::statement("
SELECT setval('{$table}_id_seq', (SELECT MAX(id) from {$table}))
");
}
/**
* Seed "attribute_values" table
*/
public function seedAttributeValues(): void
{
$datas = json_decode(File::get('database/data/attribute_values.json'));
$table = 'attribute_values';
foreach ($datas as $data) {
if (DB::table($table)->where('key', $data->key)->exists()) {
continue;
}
try {
DB::table($table)->insert([
'id' => $data->id,
'value' => $data->value,
'key' => $data->key,
'attribute_id' => $data->attribute_id,
'created_at' => $data->created_at,
'updated_at' => $data->updated_at,
]);
} catch (Exception $e) {
info(['attributes error: ' => $e->getMessage()]);
}
}
DB::statement("
SELECT setval('{$table}_id_seq', (SELECT MAX(id) from {$table}))
");
}
/**
* Seed "product_attributes" table
*/
public function seedProductAttributes(): void
{
$datas = json_decode(File::get('database/data/product_attributes.json'));
$table = 'product_attributes';
foreach ($datas as $data) {
try {
DB::table($table)->insert([
'id' => $data->id,
'product_id' => $data->product_id,
'attribute_id' => $data->attribute_id,
]);
} catch (Exception $e) {
info(['Ignored product attribute', $data->id]);
}
}
DB::statement("
SELECT setval('{$table}_id_seq', (SELECT MAX(id) from {$table}))
");
}
/**
* Seed "attribute_value_product_attribute" table
*/
public function seedAttributeValueProductAttribute(): void
{
$datas = json_decode(File::get('database/data/attribute_value_product_attribute.json'));
$table = 'attribute_value_product_attribute';
foreach ($datas as $data) {
try {
DB::table($table)->insert([
'id' => $data->id,
'attribute_value_id' => $data->attribute_value_id,
'product_attribute_id' => $data->product_attribute_id,
'product_custom_value' => $data->product_custom_value,
]);
} catch (Exception $e) {
info(['Ignored attribute value product attribute', $data->id]);
}
}
DB::statement("
SELECT setval('{$table}_id_seq', (SELECT MAX(id) from {$table}))
");
}
/**
* Seed "attribute_category" table
*/
public function seedAttributeCategory(): void
{
$datas = json_decode(File::get('database/data/attribute_category.json'));
$table = 'attribute_category';
foreach ($datas as $data) {
try {
DB::table($table)->insert([
'id' => $data->id,
'attribute_id' => $data->attribute_id,
'category_id' => $data->category_id,
]);
} catch (Exception $e) {
info(['error attribute' => $e->getMessage()]);
}
}
DB::statement("
SELECT setval('{$table}_id_seq', (SELECT MAX(id) from {$table}))
");
}
}

View File

@@ -0,0 +1,50 @@
<?php
namespace Database\Seeders;
use App\Models\System\Settings\OS;
use Exception;
use File;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class BannerTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$this->seedOldData();
}
/**
* Seed old data
*/
public function seedOldData(): void
{
$mobileBanners = json_decode(File::get('database/data/banners.json'));
$table = 'banners';
try {
foreach ($mobileBanners as $mobileBanner) {
DB::table($table)->insert([
'id' => $mobileBanner->id,
'app' => OS::MOBILE_APP,
'place' => $mobileBanner->place,
'link' => $mobileBanner->link,
'is_visible' => $mobileBanner->is_visible,
'resource_id' => $mobileBanner->banner_resource,
'resource_type' => $mobileBanner->banner_type,
'sort_order' => $mobileBanner->sort_order,
]);
}
} catch (Exception $e) {
info(['Ignore error', $e->getMessage()]);
}
DB::statement("
SELECT setval('{$table}_id_seq', (SELECT MAX(id) from {$table}))
");
}
}

Some files were not shown because too many files have changed in this diff Show More