diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ASM/DB.pm | 2 | ||||
| -rw-r--r-- | lib/ASM/DB/Result/Alertlog.pm | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/ASM/DB.pm b/lib/ASM/DB.pm index 84f323b..cc9906c 100644 --- a/lib/ASM/DB.pm +++ b/lib/ASM/DB.pm @@ -1,5 +1,5 @@ use utf8; -package ASM::DB 2; +package ASM::DB 3; use strict; use warnings; 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; |
