|
@@ -10,7 +10,7 @@ return new class extends Migration {
|
|
|
*/
|
|
|
public function up(): void
|
|
|
{
|
|
|
- Schema::table('task', function (Blueprint $table) {
|
|
|
+ Schema::table('tasks', function (Blueprint $table) {
|
|
|
$table->json('custom_fields')->nullable()->comment("自定义字段");
|
|
|
});
|
|
|
Schema::table('files', function (Blueprint $table) {
|
|
@@ -23,7 +23,7 @@ return new class extends Migration {
|
|
|
|
|
|
public function down(): void
|
|
|
{
|
|
|
- Schema::table('task', function (Blueprint $table) {
|
|
|
+ Schema::table('tasks', function (Blueprint $table) {
|
|
|
$table->dropColumn('custom_fields');
|
|
|
});
|
|
|
Schema::table('files', function (Blueprint $table) {
|