|
__PACKAGE__->table( 'packages' );
__PACKAGE__->add_columns(
'name' ,
{ data_type => 'varchar' , default_value => '' , is_nullable => 0, size => 255},
'author' ,
{ data_type => 'varchar' , default_value => '' , is_nullable => 0, size => 255},
'date' ,
{ data_type => 'varchar' , default_value => '' , is_nullable => 0, size => 25},
'dist' ,
{ data_type => 'varchar' , default_value => '' , is_nullable => 0, size => 255},
'version' ,
{ data_type => 'varchar' , default_value => '' , is_nullable => 0, size => 25},
);
__PACKAGE__->set_primary_key( 'name' );
__PACKAGE__->add_unique_constraint( "name_UNIQUE" , [ 'name' ]);
1;
|