updates
This commit is contained in:
@@ -15,7 +15,7 @@ return new class extends Migration
|
||||
$table->id();
|
||||
$table->foreignId('team_id');
|
||||
$table->foreignId('user_id');
|
||||
$table->string('role')->default('readonly');
|
||||
$table->string('role')->default('member');
|
||||
$table->timestamps();
|
||||
|
||||
$table->unique(['team_id', 'user_id']);
|
||||
|
@@ -13,10 +13,12 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('team_invitations', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('uuid')->unique();
|
||||
$table->foreignId('team_id')->constrained()->cascadeOnDelete();
|
||||
$table->string('email');
|
||||
$table->string('role')->default('readonly');
|
||||
$table->string('link')->nullable();
|
||||
$table->string('role')->default('member');
|
||||
$table->string('link');
|
||||
$table->string('via')->default('link');
|
||||
$table->timestamps();
|
||||
|
||||
$table->unique(['team_id', 'email']);
|
||||
|
@@ -16,7 +16,7 @@ class InstanceSettingsSeeder extends Seeder
|
||||
'id' => 0,
|
||||
'is_registration_enabled' => true,
|
||||
'extra_attributes' => [
|
||||
'smtp_recipients' => 'test@example.com,test2@example.com',
|
||||
'smtp_test_recipients' => 'test@example.com,test2@example.com',
|
||||
'smtp_host' => 'coolify-mail',
|
||||
'smtp_port' => 1025,
|
||||
'smtp_from_address' => 'hi@localhost.com',
|
||||
|
Reference in New Issue
Block a user