File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff line change 1+ RewriteEngine On
2+ RewriteCond %{REQUEST_FILENAME} !-f
3+ RewriteCond %{REQUEST_FILENAME} !-d
4+ RewriteRule . index.php
Original file line number Diff line number Diff line change 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 ' ]);
You can’t perform that action at this time.
0 commit comments