Skip to content

Commit 0581e0f

Browse files
committed
Fixed Vcards on mysql
1 parent d7a17df commit 0581e0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

database/migrations/2023_03_09_121613_update_columns_to_text_type.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ public function up()
1616
Schema::table('users', function (Blueprint $table) {
1717
$table->text('littlelink_description')->change();
1818
});
19-
19+
2020
Schema::table('links', function (Blueprint $table) {
2121
$table->text('title')->change();
22+
$table->text('links')->nullable();
2223
});
2324
}
2425

@@ -35,6 +36,7 @@ public function down()
3536

3637
Schema::table('links', function (Blueprint $table) {
3738
$table->string('title', 255)->change();
39+
$table->dropColumn('links');
3840
});
3941
}
4042
}

0 commit comments

Comments
 (0)