NAME

DBIO::Admin - Lightweight schema administration helper for DBIO

VERSION

version 0.900000

SYNOPSIS

use DBIO::Admin;

my $admin = DBIO::Admin->new(
  schema_class => 'MyApp::Schema',
  connect_info => ['dbi:Pg:dbname=myapp', 'user', 'pass', {}],
  mode => 'auto',
);

$admin->deploy;
$admin->upgrade;

DESCRIPTION

Administrative helper used by dbioadmin.

Supported operations:

  • create (DDL file generation)

  • upgrade (native driver upgrade where available, otherwise legacy versioned upgrade)

  • install (legacy schema-version install)

  • deploy

  • select, insert, update, delete

SEE ALSO

dbioadmin, DBIO::Schema

MODES

mode controls how upgrade is executed:

  • auto (default): native when available, otherwise legacy

  • native: require native driver upgrader support

  • legacy: require DBIO::Schema::Versioned-style upgrade path

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.