diff --git a/VERSION b/VERSION index 9084fa2f716a7117829f3f32a5f4cef400e02903..524cb55242b53f6a64cc646ea05db6acc7696d2d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.0 +1.1.1 diff --git a/lib/PZ/Schema/Result/Log.pm b/lib/PZ/Schema/Result/Log.pm new file mode 100644 index 0000000000000000000000000000000000000000..7b74c242e7b7eb3029fd974c0b4af72feaa3350b --- /dev/null +++ b/lib/PZ/Schema/Result/Log.pm @@ -0,0 +1,31 @@ +package PZ::Schema::Result::Log; + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + +our $VERSION = 1; + +__PACKAGE__->table('log'); + +__PACKAGE__->add_columns( + id => { + data_type => 'integer', + is_auto_increment => 1, + is_nullable => 0, + sequence => 'uid_seq' + }, + qw( + time + shortcut_id + ip + ua + ), +); + +__PACKAGE__->set_primary_key('id'); + +1; + +