=head1 NAME

bif-doc-func-change-task - change a task topic

=head1 VERSION

0.1.5_3 (2015-06-30)

=head1 SYNOPSIS

=for bifcode #!sqlite

    BEGIN;

    INSERT INTO changes(...);

    INSERT INTO func_update_task(
        change_id,  -- integer NOT NULL DEFAULT (currval('changes')),
        id,         -- integer NOT NULL DEFAULT (nextval('topics')),
        status_id,  -- integer
        title       -- varchar
    ) VALUES (...);

    INSERT INTO func_merge_changes DEFAULT VALUES;

    COMMIT;

=head1 DESCRIPTION

func_update_task() adds a task change to an in-progress change, by
inserting a row into L<task_deltas|bif-doc-table-task-changes>. As it
just passes the values straight through this function is possibly a
candidate for deletion.

=head1 AFFECTED TABLES

A successful call to func_update_task directly affects the following
tables:

=over

=item * L<task_deltas|bif-doc-table-task-changes>

=back

=head1 SEE ALSO

L<bif-doc-table-changes>, L<bif-doc-table-tasks>,
L<bif-doc-func-merge-changes>

=head1 AUTHOR

Mark Lawrence E<lt>nomad@null.netE<gt>

=head1 COPYRIGHT AND LICENSE

Copyright 2013-2015 Mark Lawrence <nomad@null.net>

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.

