Jiří Urban, Tomáš Juřička, Stanislav Čermák, Karolína Nesrstová, David Długosz, Tomáš Trčka
Migration
Add-Migration {name of the migration}
Remove-Migration {name of the migration}
Update-Database
Image 1
1
Image 2
2
Image 3
3
Page 1 Title...
Page 1 Content...
Image 4
1
Image 1
2
Page 2 Title...
Page 2 Content...
Image 2
1
Image 4
2
Page 3 Title...
Page 3 Content...
Image 2
3
Page 1
Page 2
Page 3
Migration
[
{
"routeKey": "page1",
"title": "Page 1 Title...",
"content": "Page 1 Content...",
"images": [
{
"index": 1,
"fullImageUrl": "./img/1_full.jpg",
"thumbnailImageUrl": "./img/1_thumb.jpg"
},
{
"index": 2,
"fullImageUrl": "./img/1_full.jpg",
"thumbnailImageUrl": "./img/1_thumb.jpg"
},
{
"index": 3,
"fullImageUrl": "./img/1_full.jpg",
"thumbnailImageUrl": "./img/1_thumb.jpg"
}
]
},
{
"routeKey": "page2",
"title": "Page 2 Title...",
"content": "Page 2 Content...",
"images": [
{
"index": 1,
"fullImageUrl": "./img/4_full.jpg",
"thumbnailImageUrl": "./img/4_thumb.jpg"
},
{
"index": 2,
"fullImageUrl": "./img/1_full.jpg",
"thumbnailImageUrl": "./img/1_thumb.jpg"
}
]
},
{
"routeKey": "page3",
"title": "Page 3 Title...",
"content": "Page 3 Content...",
"images": [
{
"index": 1,
"fullImageUrl": "./img/2_full.jpg",
"thumbnailImageUrl": "./img/2_thumb.jpg"
},
{
"index": 2,
"fullImageUrl": "./img/4_full.jpg",
"thumbnailImageUrl": "./img/4_thumb.jpg"
},
{
"index": 3,
"fullImageUrl": "./img/2_full.jpg",
"thumbnailImageUrl": "./img/2_thumb.jpg"
}
]
}
]