Fixed rest of the migrations

This commit is contained in:
slawkens
2024-11-08 10:52:28 +01:00
parent dead8e4043
commit 92de3950a1
6 changed files with 19 additions and 17 deletions

View File

@@ -6,7 +6,7 @@ $up = function () {
$rulesOnPage = Pages::where('name', 'rules_on_the_page')->first();
if (!$rulesOnPage) {
Pages::create([
'name' => 'downloads',
'name' => 'rules_on_the_page',
'title' => 'Rules',
'body' => file_get_contents(__DIR__ . '/30-rules.txt'),
'date' => time(),
@@ -14,7 +14,7 @@ $up = function () {
'php' => 0,
'enable_tinymce' => 0,
'access' => 0,
'hide' => 0,
'hidden' => 0,
]);
}
};