Skip to content

Commit ea5a067

Browse files
committed
fix: uploads table structure
1 parent 1531201 commit ea5a067

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

database/migrations/2021_10_27_182234_create_cms_upload_table.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ class CreateCmsUploadTable extends Migration
1313
*/
1414
public function up()
1515
{
16-
Schema::create('cms_upload', function (Blueprint $table) {
16+
Schema::create('cms_uploads', function (Blueprint $table) {
1717
$table->id();
18-
$table->integer('containerId')->nullable();
19-
$table->string('containerType', 256)->nullable();
18+
$table->integer('container_id')->nullable();
19+
$table->string('container_type', 256)->nullable();
2020
$table->string('filename')->nullable();
2121
$table->string('mimetype', 128)->nullable();
2222
});

0 commit comments

Comments
 (0)