X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3cc8ad871fc62723dbb9879a004a2af49d21bfef..f97b07787db5cacc0f90338fdb3c1237262917cb:/SL/DB/MetaSetup/Exchangerate.pm diff --git a/SL/DB/MetaSetup/Exchangerate.pm b/SL/DB/MetaSetup/Exchangerate.pm new file mode 100644 index 000000000..95ea23c17 --- /dev/null +++ b/SL/DB/MetaSetup/Exchangerate.pm @@ -0,0 +1,28 @@ +# This file has been auto-generated. Do not modify it; it will be overwritten +# by rose_auto_create_model.pl automatically. +package SL::DB::Exchangerate; + +use strict; + +use base qw(SL::DB::Object); + +__PACKAGE__->meta->setup( + table => 'exchangerate', + + columns => [ + curr => { type => 'character', length => 3 }, + transdate => { type => 'date' }, + buy => { type => 'numeric', precision => 5, scale => 15 }, + sell => { type => 'numeric', precision => 5, scale => 15 }, + itime => { type => 'timestamp', default => 'now()' }, + mtime => { type => 'timestamp' }, + id => { type => 'serial', not_null => 1 }, + ], + + primary_key_columns => [ 'id' ], + + allow_inline_column_values => 1, +); + +1; +;