Migrate to HTMX (#114)

Dropped Livewire
Added HTMX
Added Blade code lint
Drop Mysql and Redis
Migrate to SQLite
This commit is contained in:
Saeed Vaziry
2024-03-06 17:02:59 +01:00
committed by GitHub
parent 5b2c419e91
commit b2083fc6b2
486 changed files with 8609 additions and 8707 deletions

View File

@ -23,10 +23,10 @@ public function up(): void
public function down(): void
{
Schema::table('storage_providers', function (Blueprint $table) {
$table->string('token');
$table->string('refresh_token');
$table->string('token_expires_at');
$table->string('label');
$table->string('token')->nullable();
$table->string('refresh_token')->nullable();
$table->string('token_expires_at')->nullable();
$table->string('label')->nullable();
$table->dropColumn('user_id');
$table->dropColumn('profile');
$table->dropColumn('credentials');

View File

@ -45,6 +45,12 @@ public function run(): void
'version' => 'latest',
'status' => ServiceStatus::READY,
]);
$server->services()->create([
'type' => 'firewall',
'name' => 'ufw',
'version' => 'latest',
'status' => ServiceStatus::READY,
]);
Site::factory()->create([
'server_id' => $server->id,
'type' => SiteType::LARAVEL,