Skip to content

Instantly share code, notes, and snippets.

Avatar

Widia Rifkianti widiarifki

View GitHub Profile
@widiarifki
widiarifki / DatabaseSeeder.php
Created Jan 3, 2020
SuitCMS - Seed user @ DatabaseSeeder
View DatabaseSeeder.php
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use App\Models\User;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
@widiarifki
widiarifki / update_users_table.php
Created Jan 3, 2020
SuitCMS Migration - Add column email_verified_at.users
View update_users_table.php
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class UpdateUsersTable extends Migration
{
/**
* Run the migrations.
You can’t perform that action at this time.