Skip to content

Commit 81b3b03

Browse files
committed
Merge branch 'master' into docker
2 parents cee1f78 + 6bde7c8 commit 81b3b03

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

migrations/m0001_initial.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function up()
1414
email VARCHAR(255) NOT NULL,
1515
firstname VARCHAR(255) NOT NULL,
1616
lastname VARCHAR(255) NOT NULL,
17-
status TINYINT NOT NULL,
17+
status TINYINT DEFAULT 0,
1818
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
1919
) ENGINE=INNODB;";
2020
$db->pdo->exec($SQL);

public/.htaccess

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
RewriteEngine On
2+
RewriteCond %{REQUEST_FILENAME} !-f
3+
RewriteCond %{REQUEST_FILENAME} !-d
4+
RewriteRule . index.php

public/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
$app = new Application(dirname(__DIR__), $config);
2626

2727
$app->on(Application::EVENT_BEFORE_REQUEST, function(){
28-
echo "Before request from second installation";
28+
// echo "Before request from second installation";
2929
});
3030

3131
$app->router->get('/', [SiteController::class, 'home']);

0 commit comments

Comments
 (0)