OSDN Git Service

Initial version.
[mtpm/PluginManager.git] / lib / PluginManager / Packages.pm
1 package PluginManager::Packages;
2 use strict;
3
4 use MT::Object;
5 use base qw( MT::Object );
6 @PluginManager::Packages::ISA = qw( MT::Object );
7 __PACKAGE__->install_properties({
8                 column_defs => {
9                         'id' => 'integer not null auto_increment',
10                         'repository' => 'string(255) not null',
11             'locale' => 'string(32) not null',
12                         'packages' => 'blob not null',
13                 },
14                 indexes => {
15                         repository => 1,
16             locale => 1,
17                         created_on => 1,
18                         modified_on => 1,
19                 },
20                 primary_key => 'id',
21                 datasource => 'pm_packages',
22                 audit => 1,
23         });
24 1;