Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. The Laravel Schema class provides a database agnostic way of manipulating tables. It works well with all of the databases supported by Laravel, and has a unified API across all of these systems. Creating & Dropping Tables. To create a new database table, the Schema::create method is used:

    • Cache

      Laravel provides a unified API for various caching systems....

    • Homestead

      Homestead - Schema Builder - Laravel 5.0 - The PHP Framework...

    • Unit Testing

      Test Environment. When running unit tests, Laravel will...

    • Events

      Events - Schema Builder - Laravel 5.0 - The PHP Framework...

    • Envoy

      Envoy - Schema Builder - Laravel 5.0 - The PHP Framework For...

    • Service Providers

      If you open the config/app.php file included with Laravel,...

    • Configuration

      Configuration - Schema Builder - Laravel 5.0 - The PHP...

    • Overview

      Overview - Schema Builder - Laravel 5.0 - The PHP Framework...

  2. 6 cze 2013 · If you really need it, you could use the Schema class to create the table, and then alter the table using a SQL query to add this field. For instance, you could have: Schema::create('posts', function ($table) { $table->increments('id'); $table->integer('user_id'); // ... $table->text('description'); // ...

  3. 13 wrz 2024 · Laravel migrations are a great way to manage database schema changes. They allow you to version-control the database structure and easily roll back or modify changes over time. In this guide, we will explore the process of creating, running, and rolling back migrations in Laravel step-by-step, along with a hands-on example.

  4. 25 cze 2024 · Dynamic schemas in Laravel provide powerful flexibility, allowing your application to adapt its database structure at runtime based on user input or other dynamic factors. This approach...

  5. The Laravel Schema facade provides database agnostic support for creating and manipulating tables across all of Laravel's supported database systems. Typically, migrations will use this facade to create and modify database tables and columns.

  6. When creating any application, I first start thinking about entities - it is just a more sophisticated word for database tables and Eloquent models. When I have a DB Schema in front of me, visually, then I can list the features of each entity.

  7. 6 lip 2023 · What is Laravel Eloquent? Overview of Laravel Eloquent (How it works) What is a Laravel model? Creating Eloquent models. Updating and deleting elements. Related model. Model Events. Model Observers. Features of Eloquent. Convert to arrays/JSON. Attribute casting. Date Mutators. Accessors and Mutators. Soft Deleting. Laravel Eloquent Relationships.

  1. Ludzie szukają również