route element file uploads
Add short and long PDF paths to elements, keep pdfPath as a short PDF compatibility alias, and route generic file uploads by fileType.
This commit is contained in:
parent
0d5783ba9c
commit
9bbabc7fa6
28 changed files with 686 additions and 214 deletions
|
|
@ -15,7 +15,8 @@ return new class extends Migration
|
|||
$table->text('description')->default('');
|
||||
$table->string('icon_image_url')->nullable();
|
||||
$table->text('rich_text')->default('');
|
||||
$table->string('pdf_path')->nullable();
|
||||
$table->string('short_pdf_path')->nullable();
|
||||
$table->string('long_pdf_path')->nullable();
|
||||
$table->string('youtube_url')->nullable();
|
||||
$table->foreignId('parent_element_id')
|
||||
->nullable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue