zahraniční klíč laravel migrace
$table->foreign('column_name')->references('id')->on('table_name')->onDelete('cascade');
vytvořit migraci laravel
php artisan make:migration create_users_table
jak vytvořit migraci v Laravelu
//to create migration file in PHP use the artisan command "make"
php artisan make:migration create_users_table
// migration file must follow the naming convention "operation_tableName_table"
//Migration file to add column naming convention would be "add_tablename_table"
Laravel migrační cena
$this->decimal('price', 10, 2);