Laravel Beginner tutorial | What is migrations and how to use it ?

  Рет қаралды 6,371

Bitfumes - AI & LLMs

Bitfumes - AI & LLMs

Күн бұрын

Migrations are used to create table schema or structure.
In laravel migrations also used to migrate table directly into database with one single command.
Laravel Beginner tutorial - from download to deploy
Check bitfumes.com For ads free and more advanced courses
Join Our Slack Community - goo.gl/pqCjZH
==================FOLLOW ME ==================
Subscribe for New Releases!
Twitter - / bitfumes
Facebook - / bitfumes
Instagram - / bitfumes
(ask me questions!)
-- QUESTIONS? --
Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.
Email me support@bitfumes.com
Thanks for all your support!

Пікірлер: 14
@muhammadyasin2964
@muhammadyasin2964 5 жыл бұрын
keep them coming mate great stuff btw
@chriscannon303
@chriscannon303 4 жыл бұрын
I got this error when typing php artisan migrate: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = laravelForBeginner and table_name = migrations and table_type = 'BASE TABLE') In Sequel Pro I noticed no password was set but trying to set one didn't work. I've tried various things and now get this message when trying php artisan migrate: SQLSTATE[HY000]: General error: 1449 The user specified as a definer ('mysql.infoschema'@'localhost') does not exist (SQL: select * from information_schema.tables where table_schema = laravelForBeginner and table_name = migrations and table_type = 'BASE TABLE') It's a shame because I've come a long way with these videos and I would like to progress on to the Udemy videos but am now in a mess and clueless as to where to go next if I can't get the basic install working.
@vishalarora3676
@vishalarora3676 4 жыл бұрын
I also got the same error, do you found any solution
@vincentgunawan6626
@vincentgunawan6626 4 жыл бұрын
I got this when use "php artisan migrate" PDOException : SQLSTATE[HY000] [2006] MySQL server has gone away Could somebody help me fix this? I had set global max_allowed_packet=1073741824;
@jandeer3553
@jandeer3553 4 жыл бұрын
hi sir i am using mac book install everything step by step the way you did but when i do php artisan migrate i am getting this error i delete every things and install all again but i m not going one step ahead from here please help me with this issue. thanks in advance Illuminate\Database\QueryException SQLSTATE[HY000] [1049] Unknown database 'wali' (SQL: select * from information_schema.tables where table_schema = wali and table_name = migrations and table_type = 'BASE TABLE') at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671 667| // If an exception occurs when attempting to run a query, we'll format the error 668| // message to include the bindings with SQL, which will make this exception a 669| // lot more helpful to the developer instead of just the database's errors. 670| catch (Exception $e) { > 671| throw new QueryException( 672| $query, $this->prepareBindings($bindings), $e 673| ); 674| } 675| +34 vendor frames 35 artisan:37
@dhruvinprajapati4345
@dhruvinprajapati4345 4 жыл бұрын
hey I have problem while migrating Illuminate\Database\QueryException : SQLSTATE[HY000]: General error: 1449 The user specified as a definer ('mysq l.infoschema'@'localhost') does not exist (SQL: select * from information_schema.tables where table_schema = blog an d table_name = migrations and table_type = 'BASE TABLE') this error come when i try to migrate can you please help me
@safwenbelkacem2887
@safwenbelkacem2887 4 жыл бұрын
did you have the solution yet ?
@chriscannon303
@chriscannon303 4 жыл бұрын
I'm having the same problem.
@dhruvinprajapati4345
@dhruvinprajapati4345 4 жыл бұрын
Please restart your laravel server
@j.raoulfeze86
@j.raoulfeze86 4 жыл бұрын
@@dhruvinprajapati4345 I restarted the server but still got the same error
@johnvincenttanglao203
@johnvincenttanglao203 4 жыл бұрын
I've solved this problem by creating the Database in PHP, just the Database, what migrate does is it creates and migrates tables to a Database without a hassle. So if my "DB_DATABASE=" in my .env file is named "laravelDB", you must create a "laravelDB" first into your PhpMyAdmin, so that if you run "php artisan migrate" it'll recognized the Database name at migrates to it. Hope this helps!
@mukeshrai4890
@mukeshrai4890 5 жыл бұрын
You have already made video on laravel, haven't you?
@starknights101
@starknights101 5 жыл бұрын
This is for the new version of laravel
@huortlala609
@huortlala609 5 жыл бұрын
i don't know how to use terminal
Laravel Beginner tutorial | Create Login Register auth
5:15
Bitfumes - AI & LLMs
Рет қаралды 13 М.
4 Laravel 7 for beginner - Database Connection & migration
8:15
Bitfumes - AI & LLMs
Рет қаралды 17 М.
Modus males sekolah
00:14
fitrop
Рет қаралды 12 МЛН
Laravel Migrations: 12 Useful Tips in 12 Minutes
12:06
Laravel Daily
Рет қаралды 79 М.
Databases & Migrations | Laravel For Beginners | Learn Laravel
15:09
Code With Dary
Рет қаралды 52 М.
Laravel Beginner tutorial | Create Your First Route for Laravel
10:37
Bitfumes - AI & LLMs
Рет қаралды 15 М.
PHP is the future
34:27
Aaron Francis
Рет қаралды 175 М.
Laravel 10 full course for beginner -  Understand the migrations
12:29
Bitfumes - AI & LLMs
Рет қаралды 29 М.