| Line | |
|---|
| 1 | package PluginManager::Plugin; |
|---|
| 2 | use strict; |
|---|
| 3 | |
|---|
| 4 | use MT::Object; |
|---|
| 5 | |
|---|
| 6 | @PluginManager::Plugin::ISA = qw( MT::Object ); |
|---|
| 7 | |
|---|
| 8 | __PACKAGE__->install_properties({ |
|---|
| 9 | column_defs => { |
|---|
| 10 | 'id' => 'integer not null auto_increment', |
|---|
| 11 | 'sig' => 'string(150) not null', |
|---|
| 12 | 'icon' => 'string(150)', |
|---|
| 13 | 'url' => 'string(150) not null', |
|---|
| 14 | 'name' => 'string(50) not null', |
|---|
| 15 | 'config' => 'text not null', |
|---|
| 16 | }, |
|---|
| 17 | indexes => { |
|---|
| 18 | id => 1, |
|---|
| 19 | sig => 1, |
|---|
| 20 | url => 1, |
|---|
| 21 | }, |
|---|
| 22 | audit => 1, |
|---|
| 23 | datasource => 'pluginmanager', |
|---|
| 24 | primary_key => 'id', |
|---|
| 25 | }); |
|---|
| 26 | |
|---|
| 27 | 1; |
|---|