refactor(content recap): change data type title from string to text and adjust maxlength validation
This commit is contained in:
parent
f278a2d9c0
commit
d343dbf6f9
@ -27,7 +27,7 @@ public static function configure(Schema $schema): Schema
|
||||
->autocomplete(false)
|
||||
->autofocus()
|
||||
->required()
|
||||
->maxLength(255),
|
||||
->maxLength(1000),
|
||||
|
||||
TextInput::make('link')
|
||||
->label('Tautan')
|
||||
|
||||
@ -15,7 +15,7 @@ public function up(): void
|
||||
Schema::create('content_recaps', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('classification_id')->constrained()->cascadeOnDelete();
|
||||
$table->string('title', 255);
|
||||
$table->text('title');
|
||||
$table->text('link', 50)->nullable();
|
||||
$table->date('posting_date')->index();
|
||||
$table->enum('type', ContentType::values())->default(ContentType::FOTO)->index();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user