Skip to content

Commit 27ffe65

Browse files
committed
Replaces table update with creation in migration
Ensures the migration creates the credential type table instead of updating an existing one, improving database setup reliability for new environments.
1 parent 576754f commit 27ffe65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/migrations/20241206150119_credential_type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ public function change(): void
3535
->addColumn('url', 'string', ['limit' => 255])
3636
->addColumn('logo', 'string', ['limit' => 255])
3737
->addColumn('uuid', 'string', ['length' => 40])
38-
->update();
38+
->create();
3939
}
4040
}

0 commit comments

Comments
 (0)