Projekt

Allgemein

Profil

Herunterladen (966 Bytes) Statistiken
| Zweig: | Markierung: | Revision:
# This file has been auto-generated. Do not modify it; it will be overwritten
# by rose_auto_create_model.pl automatically.
package SL::DB::FileVersion;

use strict;

use parent qw(SL::DB::Object);

__PACKAGE__->meta->table('file_versions');

__PACKAGE__->meta->columns(
backend => { type => 'text', not_null => 1 },
doc_path => { type => 'text', not_null => 1 },
file_id => { type => 'integer', not_null => 1 },
file_location => { type => 'text', not_null => 1 },
guid => { type => 'text', not_null => 1 },
itime => { type => 'timestamp', default => 'now()', not_null => 1 },
mtime => { type => 'timestamp' },
version => { type => 'integer', not_null => 1 },
);

__PACKAGE__->meta->primary_key_columns([ 'guid' ]);

__PACKAGE__->meta->allow_inline_column_values(1);

__PACKAGE__->meta->foreign_keys(
file => {
class => 'SL::DB::File',
key_columns => { file_id => 'id' },
},
);

1;
;
(62-62/156)