strictures 2;
use Carp qw(croak);
use GraphViz2 ();
use List::Util qw(first);
use Mojo::JSON qw(from_json to_json);
use Mojo::SQLite ();
use YAML qw(Load LoadFile);
use namespace::clean;
has model =
sts '
. $self->model
. ' (
id integer primary key autoincrement,
settings json not null,
name text not null
)'
);
# create the model specs table unless it's a
. ' (
id integer primary key autoincrement,
model text not null,
spec json not null
)'
);
}
sub make_setting {
my ($self, %args) = @_;
my $id = delete $args{i