From 9abe734412c8955936702d5ab0f3a0e9a8548122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz> Date: Sun, 25 Dec 2022 22:59:44 +0100 Subject: [PATCH] Bugfix --- VERSION | 2 +- lib/PZ/Schema/Result/Log.pm | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 lib/PZ/Schema/Result/Log.pm diff --git a/VERSION b/VERSION index 9084fa2..524cb55 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 0000000..7b74c24 --- /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; + + -- GitLab