creating table in laravel code example
Example 1: laravel profile migration tool
php artisan migrate:refresh
php artisan migrate:refresh --seed
Example 2: hwo to create a database table in laravel
php artisan migrate
Example 3: migrate to an existing table in laravel commad
public function up()
{
Schema::table('users', function($table) {
$table->integer('paid');
});
}
Example 4: hwo to create a database table in laravel
php artisan make:migartion create_users_table