X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FNote.pm;h=1e94da7aa4e6bbd04c33316c442a1e8a6449ebbe;hb=b8ee6b6ed46e55095b955ee1800b8a4b8d8ccc3f;hp=7d2dd593c6d0c931c4e7359e0d371d4b426b7eea;hpb=4bcf880408fcc4270084f36520d4fd2cfd509fbc;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Note.pm b/SL/DB/MetaSetup/Note.pm index 7d2dd593c..1e94da7aa 100644 --- a/SL/DB/MetaSetup/Note.pm +++ b/SL/DB/MetaSetup/Note.pm @@ -9,14 +9,14 @@ use base qw(SL::DB::Object); __PACKAGE__->meta->table('notes'); __PACKAGE__->meta->columns( - id => { type => 'integer', not_null => 1, sequence => 'note_id' }, - subject => { type => 'text' }, body => { type => 'text' }, created_by => { type => 'integer', not_null => 1 }, - trans_id => { type => 'integer' }, - trans_module => { type => 'varchar', length => 10 }, + id => { type => 'integer', not_null => 1, sequence => 'note_id' }, itime => { type => 'timestamp', default => 'now()' }, mtime => { type => 'timestamp' }, + subject => { type => 'text' }, + trans_id => { type => 'integer' }, + trans_module => { type => 'varchar', length => 10 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -30,7 +30,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;