Version 0.7.0 #1

Merged
kor-elf merged 90 commits from develop into main 2023-12-08 21:18:23 +06:00
Showing only changes of commit 2121af2914 - Show all commits

View File

@ -18,14 +18,14 @@ return new class extends Migration
Schema::create('roles', function (Blueprint $table) { Schema::create('roles', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('name'); $table->string('name');
$table->string('slug')->unique(); $table->string('code')->unique();
$table->timestamps(); $table->timestamps();
$table->softDeletes(); $table->softDeletes();
}); });
DB::table('roles')->insert([ DB::table('roles')->insert([
'name' => 'Administrator', 'name' => 'Administrator',
'slug' => 'admin', 'code' => 'admin',
'created_at' => Carbon::now(), 'created_at' => Carbon::now(),
'updated_at' => Carbon::now() 'updated_at' => Carbon::now()
]); ]);