From: Justin Hunter <justin.d.hunter@gmail.com>
Date: Wed, 10 Feb 2010 17:49:34 +0000 (-0800)
Subject: yes, we want column comments for SQLite
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=25aa222bad5e3ec57aec59eb0ac957d2483462c8;p=dbsrgits%2FSQL-Translator-2.0-ish.git

yes, we want column comments for SQLite
---

diff --git a/lib/SQL/Translator/Parser/DDL/SQLite.pm b/lib/SQL/Translator/Parser/DDL/SQLite.pm
index 716e98e..0b0868f 100644
--- a/lib/SQL/Translator/Parser/DDL/SQLite.pm
+++ b/lib/SQL/Translator/Parser/DDL/SQLite.pm
@@ -56,6 +56,7 @@ role SQL::Translator::Parser::DDL::SQLite {
                     default_value     => $fdata->{'default'},
                     is_auto_increment => $fdata->{'is_auto_inc'},
                     is_nullable       => $fdata->{'is_nullable'},
+                    comments          => $fdata->{'comments'},
                     table             => $table,
                 });
                 $table->add_column($field);