]> git.ktnx.net Git - lsl.git/blobdiff - lib/App/LazyShoppingList/Schema/Result/Globals.pm
first take at a Dancer2 app, some functions work
[lsl.git] / lib / App / LazyShoppingList / Schema / Result / Globals.pm
diff --git a/lib/App/LazyShoppingList/Schema/Result/Globals.pm b/lib/App/LazyShoppingList/Schema/Result/Globals.pm
new file mode 100644 (file)
index 0000000..1ec31ed
--- /dev/null
@@ -0,0 +1,17 @@
+use v5.28;
+use warnings;
+use utf8;
+
+package App::LazyShoppingList::Schema::Result::Globals;
+
+use parent qw( DBIx::Class::Core );
+
+__PACKAGE__->table('globals');
+
+__PACKAGE__->add_columns(
+    lists_version => { data_type => 'integer' },
+    db_revision   => { data_type => 'integer' },
+);
+
+
+1;