DBIx::C...med_sets(3)
πΈ NAME πΈ
Okay bestie, welcome to DBIx::Class::Migration::Script::Help::delete_named_sets β the header squishes it down to DBIx::C...med_sets(3), iykyk. This page is literally about one thing: Delete dumped fixture sets. π
β¨ SYNOPSIS β¨
The command shape is giving exactly this:
dbic-migration --schema_class MyApp::Schema \
delete_named_sets --fixture_set core --fixture_set countries
π DESCRIPTION π
No cap, this command is used to delete invalid, previously dumped fixtures for a given fixture configuration, under the current schema (not database!) version. Not the database version β the schema version. Periodt. π
Sometimes when you are dumping fixtures for the current version, you might make a mistake in the configuration set and want to re-dump them. Thatβs the moment this command shows up: it clears out existing sets. Slay. β¨
Since dumped fixtures just live on the filesystem, you can delete them using any normal filesystem tool, so we limit this potentially dangerous command to deleting on the current schema fixtures. Lowkey responsible of it. π«Ά You might use this command when working on prepping fixtures for a new version of the schema, for example.
π OPTIONS π
This command accepts the following options. You may learn more about each option by typing dbic-migration help OPTION. The following is a summary.
fixture_sets(fixture_sets) β Required. The fixture configuration set names (basically these are the file names of your fixture configurations, without the.jsonpart). πincludes(I,lib,libs,include) β Optional. Adds the listed paths to@INC. Handy during development when you want to use a development schema class. π¦schema_class(S) β Accepts Str. Required. This is the schema we use as the basis for creating, managing and running your deployments. This should be the full package namespace defining your subclass ofDBIx::Class::Schema. For exampleMyApp::Schema. If theschema_classcannot be loaded, a hard exception will be thrown. πtarget_dir(D) β Optional. When using asandbox_classfor generating developer level database sandboxes, you may wish to place the sandbox in a directory other than the default (which is under thesharedirectory off the project root). πdbic_fixture_classβ Accepts: String to a Perl Class. Defaults toDBIx::Class::Fixtures. Lets you specify a fixture class. π§dbic_fixtures_extra_argsβ Accepts: HashRef. Optional. Allows you to pass custom arguments toDBIx::Class::Fixtures. π
π¦ SEE ALSO π¦
DBIx::Class::MigrationDBIx::Class::Migration::ScriptDBIx::Class::Migration::FeaturesDBIx::Class::Migration::Tutorial
Go read these, bestie β the whole ecosystem is right there. π
π AUTHOR π
See DBIx::Class::Migration for author information.
π COPYRIGHT & LICENSE π
See DBIx::Class::Migration for copyright and license information.
mwah π β this page is from perl v5.42.0, dated 2020-06-03, and the footer name is DBIx::C...med_sets(3).
π¦ where this page comes from
- opensuse-leap 16.0: perl-DBIx-Class-Migration 0.075-bp160.1.10 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms