No video

Laravel 10 full course for beginner - Understand the migrations

  Рет қаралды 28,744

Bitfumes - AI & LLMs

Bitfumes - AI & LLMs

Күн бұрын

Пікірлер: 44
@ntcc2821
@ntcc2821 Жыл бұрын
I have watched more than 6 Laravel tutorials I must say this guy teaches so well , I like how he doesn't assume you know some things, like he teaches from scratch. If you a complete beginner let me tell you this is the course for you dont waste your time much searching for another one, i have gone throught that trouble for you and im telling this is the best of the best
@bernardchisumo4054
@bernardchisumo4054 Жыл бұрын
Updating the columns is throwing errors SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column `name` to `username`' at line 1 (Connection: mysql, SQL: alter table `users` rename column `name` to `username`) php artisan make:migration update_user_table_name_to_username --table=users public function up(): void { Schema::table('users', function (Blueprint $table) { $table->renameColumn('name', 'username'); }); } public function down(): void { Schema::table('users', function (Blueprint $table) { $table->renameColumn('username', 'name'); }); }
@yasin_khadem
@yasin_khadem Жыл бұрын
hi, you can run command `composer require doctrine/dbal` then run your migration 😉
@dr.muhammadbarzakh
@dr.muhammadbarzakh Жыл бұрын
@@yasin_khadem thanks, it solved the problem.
@tabbechzineeddine782
@tabbechzineeddine782 Жыл бұрын
@@yasin_khadem god bless you
@RaefetOuafiqo
@RaefetOuafiqo Жыл бұрын
hi yassin, why does this package solves this issue ? i know the problem is from MariaDb or MySQL cuz laravel generates this query 'alter table tb_name rename column name to name2' and this doesn't work with MariaDb or MySql ? so how does that package solves this issue behind the scene @@yasin_khadem
@maryloucortez7969
@maryloucortez7969 10 ай бұрын
Hi I had the same problem and it works. Thank you@@yasin_khadem
@rollandson26
@rollandson26 Жыл бұрын
instead of manually reverting the username to name. use "php artisan migrate:rollback".. cause the schema already setup for rollback ``` public function down(): void { Schema::table('users', function (Blueprint $table) { $table->renameColumn('username', 'name'); }); } ```
@konako00
@konako00 Жыл бұрын
this is the best laravel tutorial on youtube man
@Bitfumes
@Bitfumes Жыл бұрын
thanks man👋
@basilistigris640
@basilistigris640 Жыл бұрын
one more perfect lesson for laravel 10, i like this channel like no other!
@shatirdimag1011
@shatirdimag1011 3 ай бұрын
Best video thanks💯
@tel6975637465
@tel6975637465 10 ай бұрын
So if u just want to rename one column you will have to go through allll this >?
@shatirdimag1011
@shatirdimag1011 3 ай бұрын
Keep adding more videos
@afnanjaved1986
@afnanjaved1986 Жыл бұрын
My migration failed to update the column name . Why ?
@RaefetOuafiqo
@RaefetOuafiqo Жыл бұрын
same here, did you find the solution ?
@salmatamerz2756
@salmatamerz2756 6 ай бұрын
Why did we use table plus and are there any alternatives? Other than that thank you for putting effort in the content , we really appreciate it❤️
@gurujilife7210
@gurujilife7210 3 ай бұрын
nice
@dawghouse1111
@dawghouse1111 10 ай бұрын
hi, Lost at solving this: Trying to change the column name from name to lastname on the default table called users and receiving the error message below: Laravel 10 new build my setyp: Apache 2.4.56 - MariaDB 10.4.28 - PHP 8.2.4 public function up(): void { Schema::table('users', function (Blueprint $table) { $table->renameColumn('name', 'lastname'); }); } ----Error message --- 1 vendor\laravel\framework\src\Illuminate\Database\Connection.php:574 PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'column `name` to `lastname`' at line 1") 2 vendor\laravel\framework\src\Illuminate\Database\Connection.php:574 PDO::prepare("alter table `users` rename column `name` to `lastname`")
@Bitfumes
@Bitfumes 10 ай бұрын
this seems correct please check your database if you have name field or not
@pallavsharma9344
@pallavsharma9344 5 ай бұрын
I can't open tableplus on my ubantu system. Can you help?
@GZRBangBang
@GZRBangBang 6 ай бұрын
How did the "renameColumn" suggestion pop up in VS Code at 9:38? Is there an extension needed for Laravel because it didn't show up for me. Would love to add that to my workflow.
@SyedAli-ps9ym
@SyedAli-ps9ym Жыл бұрын
Will we get the full course on KZbin or there is some paywall
@Bitfumes
@Bitfumes Жыл бұрын
Around 5 hours of module is free on youtube and rest will be paid
@weler2491
@weler2491 5 ай бұрын
I'm having an error when trying to update the column name. SQLSTATE[42000]: Syntax error or access violation: 1064....
@md.lutfulbari438
@md.lutfulbari438 Жыл бұрын
really grateful to u.
@bernardchisumo4054
@bernardchisumo4054 Жыл бұрын
Is table plus free? I have downloaded but it keeps asking me to pay
@Bitfumes
@Bitfumes Жыл бұрын
free for 2 tabs only
@user-ue4kh8un3n
@user-ue4kh8un3n 11 ай бұрын
สอนดีมากครับ ขอบคุณครับ
@sodr4c
@sodr4c Жыл бұрын
can u make video for publishing? laravel X react? via local with laragon
@zilpahnamutali9355
@zilpahnamutali9355 Жыл бұрын
are we supposed to download table plus?
@pedroaltomar2380
@pedroaltomar2380 Жыл бұрын
TablePlus is an app that lets you see and interact with your databases, both local and remote. There are alternative apps that can do the same.
@roseairyn888
@roseairyn888 10 ай бұрын
how did you write arrow right symbol in 9:18 min
@Bitfumes
@Bitfumes 10 ай бұрын
which one ?
@yewinnaing9826
@yewinnaing9826 Жыл бұрын
I also have the error
@SyedAli-ps9ym
@SyedAli-ps9ym Жыл бұрын
I would appreciate if it's free
@Bitfumes
@Bitfumes Жыл бұрын
This module is free and other will be paid
Laravel 10 full course for beginner -  How register form works
7:14
Bitfumes - AI & LLMs
Рет қаралды 20 М.
Laravel Migrations: 12 Useful Tips in 12 Minutes
12:06
Laravel Daily
Рет қаралды 79 М.
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 41 МЛН
Harley Quinn's revenge plan!!!#Harley Quinn #joker
00:59
Harley Quinn with the Joker
Рет қаралды 24 МЛН
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 47 МЛН
Laravel 10 full course for beginner -   using laravel query builder
10:04
Bitfumes - AI & LLMs
Рет қаралды 13 М.
30 Days to Learn Laravel, Ep 08 - Introduction to Migrations
17:02
Databases & Migrations | Laravel For Beginners | Learn Laravel
15:09
Code With Dary
Рет қаралды 52 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 565 М.
Laravel 10 full course for beginner -  running raw sql queries
13:08
Bitfumes - AI & LLMs
Рет қаралды 17 М.
Laravel CRUD in 50 minutes for Beginners  from Scratch
49:58
Devtamin
Рет қаралды 202 М.
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 39 М.
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 41 МЛН