What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-02-16 07:25:02
add column to migration laravel
php artisan make:migration add_paid_to_users_table --table=users public function up() { Schema::table('users', function($table) { $table->integer('paid'); }); } public function down() { Schema::table('users', function($table) { ... Add solution -
PHP 2022-02-15 13:50:03
Laravel Migrations from an existing database
php artisan migrate Add solution -
PHP 2022-02-07 06:45:35
alias migratedb='php artisan migrate'
alias dbmigrate='php artisan migrate' Add solution -
Other 2022-02-03 09:21:29
Laravel migrate fresh and seed
php artisan migrate:refresh --seed Add solution -
PHP 2022-02-02 19:21:06
add a new column to existing table in a migration
php artisan make:migration add_paid_to_users_table --table=users public function up() { Schema::table('users', function($table) { $table->integer('paid'); }); } public function down() { Schema::table('users', function($table) { ... Add solution
Best helpers
Holyeyeolo
+5
Auntkym
+5
Mostafa 36a2
+5
Rodrigorgs
+5
Arnav Bose
+5
Waldrumpus
+5
TheShade
+5
Piquet
+5
Babak
+5
Ohhh
+5
Jeff Sours
+5
Jim Mourgos
+5
J. Marks
+5