Added add_columns documentation about controlling float precision
Robert Stone [Sat, 27 Dec 2014 19:19:10 +0000 (13:19 -0600)]
AUTHORS
Changes
lib/DBIx/Class/ResultSource.pm

diff --git a/AUTHORS b/AUTHORS
index 0af3503..1264ab2 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -60,6 +60,7 @@ dim0xff: Dmitry Latin <dim0xff@gmail.com>
 dkubb: Dan Kubb <dan.kubb-cpan@onautopilot.com>
 dnm: Justin Wheeler <jwheeler@datademons.com>
 dpetrov: Dimitar Petrov <mitakaa@gmail.com>
+Dr^ZigMan: Robert Stone <drzigman@drzigman.com>
 dsteinbrunner: David Steinbrunner <dsteinbrunner@pobox.com>
 duncan_dmg: Duncan Garland <Duncan.Garland@motortrak.com>
 dwc: Daniel Westermann-Clark <danieltwc@cpan.org>
diff --git a/Changes b/Changes
index 2e6f3a9..19841b8 100644 (file)
--- a/Changes
+++ b/Changes
@@ -28,7 +28,7 @@ Revision history for DBIx::Class
 
     * Misc
         - Remove warning about potential side effects of RT#79576 (scheduled)
-        - Various doc improvements (GH#71, GH#72)
+        - Various doc improvements (GH#70, GH#71, GH#72)
         - Skip tests in a way more intelligent and speedy manner when optional
           dependencies are missing
         - Make the Optional::Dependencies error messages cpanm-friendly
index 4b8f1dd..c88361f 100644 (file)
@@ -211,6 +211,12 @@ The length of your column, if it is a column type that can have a size
 restriction. This is currently only used to create tables from your
 schema, see L<DBIx::Class::Schema/deploy>.
 
+   { size => [ 9, 6 ] }
+
+For decimal or float values you can specify an ArrayRef in order to
+control precision, assuming your database's
+L<SQL::Translator::Producer> supports it.
+
 =item is_nullable
 
    { is_nullable => 1 }