id(); $table->string( 'conversation_uuid', 36 )->not_null(); $table->index( 'conversation_uuid' ); $table->string( 'role', 20 )->not_null(); $table->text( 'content' )->not_null(); $table->text( 'metadata' )->nullable(); $table->datetime( 'created_at' )->not_null(); $table->boolean( 'is_satisfied' )->default( 0 ); }); } /** * Reverse the migration. * * @return void */ public function down() { Schema::drop_if_exists( 'aisentic_messages' ); } }