<p>In <a href="https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/8#discussion_r46200326">lib/DBIx/Class/Fixtures.pm</a>:</p>
<pre style='color:#555'>> @@ -1402,7 +1402,13 @@ sub populate {
> $self->msg("- updating sequence $sequence");
> $rs->result_source->storage->dbh_do(sub {
> my ($storage, $dbh, @cols) = @_;
> - $self->msg(my $sql = "SELECT setval('${sequence}', (SELECT max($column) FROM ${table}));");
> + $self->msg(
> +                         my $sql = "SELECT setval('${sequence}', (SELECT max("
</pre>
<p>The sequence name needs to be quoted (or even better, passed in via a placeholder) too.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/8/files#r46200326">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAihslpkHMU0l6nsrDprHD5Lkd0iMks5pLKwhgaJpZM4Grvz0.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/8/files#r46200326"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>