Skip to content

Commit 14fdef3

Browse files
committed
增加 user_prompt 和 full_prompt 字段的长度。
1 parent c8eddcc commit 14fdef3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

publish/migrations/create_stable_diffusion_results_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public function up(): void
2222
Schema::create('stable_diffusion_results', function (Blueprint $table) {
2323
$table->bigIncrements('id');
2424
$table->string('replicate_id')->unique();
25-
$table->string('user_prompt');
26-
$table->string('full_prompt');
25+
$table->text('user_prompt');
26+
$table->mediumText('full_prompt');
2727
$table->string('url');
2828
$table->string('status', 30);
2929
$table->json('output')->nullable();

0 commit comments

Comments
 (0)