Answers for "laravel migration int"

PHP
2

how to check linux os

cat /etc/os-release
or
hostnamectl
Posted by: Guest on March-10-2021
3

laravel enum migration

Add Laravel enmu migration : 
------------------------------
$table->enum('question_type', ['objective', 'subjective', 'multiple_choice']);

Update Laravel enum migration :
---------------------------------
DB::statement("ALTER TABLE users CHANGE COLUMN permissions permissions ENUM('admin', 'user', 'candidate') NOT NULL DEFAULT 'user'");
Posted by: Guest on July-23-2020
2

laravel migration integer

$table->integer('votes');
Posted by: Guest on March-22-2021
5

laravel migration

php artisan make:migration create_users_table --create=users

php artisan make:migration add_votes_to_users_table --table=users
Posted by: Guest on July-18-2020
2

laravel create migration

php artisan make:migration add_votes_to_users_table --table=users

php artisan make:migration create_users_table --create=users
Posted by: Guest on June-27-2020
3

laravel migration integer

$table->bigInteger('votes');
Posted by: Guest on May-22-2020
2

laravel make migration

php artisan make:migration CreateUsersTable
Posted by: Guest on May-04-2020

Browse Popular Code Answers by Language