diff --git a/lib/VPNManager/Schema/Result/WhitelistConsole.pm b/lib/VPNManager/Schema/Result/WhitelistConsole.pm new file mode 100644 index 0000000..22418be --- /dev/null +++ b/lib/VPNManager/Schema/Result/WhitelistConsole.pm @@ -0,0 +1,25 @@ +package VPNManager::Schema::Result::WhitelistConsole; + +use v5.38.2; + +use strict; +use warnings; + +use feature 'signatures'; + +use parent 'DBIx::Class::Core'; + +__PACKAGE__->table('whitelist_console'); + +__PACKAGE__->add_columns( + id => { + data_type => 'INTEGER', + is_auto_increment => 1, + }, + username => { + data_type => 'TEXT', + is_nullable => 0, + }, +); +__PACKAGE__->set_primary_key('id'); +1;