Skip to content

Commit

Permalink
Added add_columns documentation about controlling float precision
Browse files Browse the repository at this point in the history
  • Loading branch information
drzigman authored and ribasushi committed Mar 20, 2015
1 parent 64fce75 commit 2e7c645
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion Changes
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions lib/DBIx/Class/ResultSource.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 2e7c645

Please sign in to comment.