diff options
Diffstat (limited to 'lib/ASM/DB')
| -rw-r--r-- | lib/ASM/DB/Result/Alertlog.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ASM/DB/Result/Alertlog.pm b/lib/ASM/DB/Result/Alertlog.pm index 8ce22ff..f7155df 100644 --- a/lib/ASM/DB/Result/Alertlog.pm +++ b/lib/ASM/DB/Result/Alertlog.pm @@ -23,8 +23,9 @@ __PACKAGE__->add_columns( level => { data_type => 'tinytext', is_nullable => 0 }, id => { data_type => 'tinytext', is_nullable => 0 }, reason => { data_type => 'text', is_nullable => 0 }, + sqlid => { data_type => 'bigint', is_auto_increment => 1, is_nullable => 0 }, ); -__PACKAGE__->set_primary_key('id'); +__PACKAGE__->set_primary_key('sqlid'); 1; |
