Skip to content

Schema‐Builder

Mohammad Emran edited this page Aug 14, 2025 · 1 revision

Schema Builder

The schema builder provides a programmatic way to define and modify database tables. Example:

Schema::create('users', function($table) {
    $table->id();
    $table->string('name');
});
Clone this wiki locally