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
Grin
+5
Hwsolutions
+5
SYJ
+5
A. Pelicker
+5
KMC
+5
Jonjie
+5
Blank
+5
Paul Knight
+5
WYSIWYG
+5
Required
+5
Saylestyler
+5
Deverejones
+5
Frank Jaeger
+5