Skip to content

Commit

Permalink
Regenerated schema - using Moose.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Oct 1, 2015
1 parent dc7cd65 commit 95c27e9
Show file tree
Hide file tree
Showing 10 changed files with 69 additions and 34 deletions.
12 changes: 6 additions & 6 deletions Literature/lib/Literature/Schema.pm
Expand Up @@ -4,17 +4,17 @@ package Literature::Schema;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE

use strict;
use warnings;

use base 'DBIx::Class::Schema';
use Moose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Schema';

__PACKAGE__->load_namespaces;


# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 12:22:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MT39iJoIjN21xSMELGcKRg
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 20:37:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LLfKaZZTfOORlQkSPO9kIg


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable(inline_constructor => 0);
1;
10 changes: 7 additions & 3 deletions Literature/lib/Literature/Schema/Result/Actor.pm
Expand Up @@ -13,7 +13,10 @@ Literature::Schema::Result::Actor
use strict;
use warnings;

use base 'DBIx::Class::Core';
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';

=head1 COMPONENTS LOADED
Expand Down Expand Up @@ -118,9 +121,10 @@ __PACKAGE__->has_many(
);


# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 12:22:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VP8JtCVpk7IUQp5m4x1yrw
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 20:37:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XajN71qkm9ZiFEWdGhdmXw


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
10 changes: 7 additions & 3 deletions Literature/lib/Literature/Schema/Result/ActorRole.pm
Expand Up @@ -13,7 +13,10 @@ Literature::Schema::Result::ActorRole
use strict;
use warnings;

use base 'DBIx::Class::Core';
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';

=head1 COMPONENTS LOADED
Expand Down Expand Up @@ -128,9 +131,10 @@ __PACKAGE__->belongs_to(
);


# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 12:22:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vAWbHTzJhIolMhgWflLAw
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 20:37:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JDEk/1HSGvguOqR9mXGelQ


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
10 changes: 7 additions & 3 deletions Literature/lib/Literature/Schema/Result/Author.pm
Expand Up @@ -13,7 +13,10 @@ Literature::Schema::Result::Author
use strict;
use warnings;

use base 'DBIx::Class::Core';
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';

=head1 COMPONENTS LOADED
Expand Down Expand Up @@ -128,9 +131,10 @@ Composing rels: L</author_works> -> work
__PACKAGE__->many_to_many("works", "author_works", "work");


# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 12:22:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0R/ciq13VoQWM8yA2Ka7aQ
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 20:37:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:B5frba6YXeF2FXSyH6YNPw


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
10 changes: 7 additions & 3 deletions Literature/lib/Literature/Schema/Result/AuthorWork.pm
Expand Up @@ -13,7 +13,10 @@ Literature::Schema::Result::AuthorWork
use strict;
use warnings;

use base 'DBIx::Class::Core';
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';

=head1 COMPONENTS LOADED
Expand Down Expand Up @@ -103,9 +106,10 @@ __PACKAGE__->belongs_to(
);


# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 12:22:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VIAMkLJCluKtGkiKxQ9T0A
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 20:37:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L7uwvvEd9+PMpMMj9MoX3Q


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
10 changes: 7 additions & 3 deletions Literature/lib/Literature/Schema/Result/FictionalCharacter.pm
Expand Up @@ -13,7 +13,10 @@ Literature::Schema::Result::FictionalCharacter
use strict;
use warnings;

use base 'DBIx::Class::Core';
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';

=head1 COMPONENTS LOADED
Expand Down Expand Up @@ -111,9 +114,10 @@ Composing rels: L</fictional_character_appearances> -> work
__PACKAGE__->many_to_many("works", "fictional_character_appearances", "work");


# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 12:22:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rijiRr927KyuIU1KWltm6w
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 20:37:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QHRzydGpe0VXBrLvTZkD5g


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
Expand Up @@ -13,7 +13,10 @@ Literature::Schema::Result::FictionalCharacterAppearance
use strict;
use warnings;

use base 'DBIx::Class::Core';
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';

=head1 COMPONENTS LOADED
Expand Down Expand Up @@ -103,9 +106,10 @@ __PACKAGE__->belongs_to(
);


# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 12:22:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0xZTYJC6j16adjAtEPm7Tw
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 20:37:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PFm6k4CBRLq/1+vJU8LGCQ


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
10 changes: 7 additions & 3 deletions Literature/lib/Literature/Schema/Result/Production.pm
Expand Up @@ -13,7 +13,10 @@ Literature::Schema::Result::Production
use strict;
use warnings;

use base 'DBIx::Class::Core';
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';

=head1 COMPONENTS LOADED
Expand Down Expand Up @@ -124,9 +127,10 @@ __PACKAGE__->belongs_to(
);


# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 12:22:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kJZJ46fsEE4sWCuWaQcn/Q
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 20:37:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Pbb3FP5cA/ANMlrxEZkWiw


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
10 changes: 7 additions & 3 deletions Literature/lib/Literature/Schema/Result/Work.pm
Expand Up @@ -13,7 +13,10 @@ Literature::Schema::Result::Work
use strict;
use warnings;

use base 'DBIx::Class::Core';
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';

=head1 COMPONENTS LOADED
Expand Down Expand Up @@ -152,9 +155,10 @@ __PACKAGE__->many_to_many(
);


# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 12:22:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8BGh+Iql5Dt7gMmfnhJzJg
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-01 20:37:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P4SAb/GK/gfabamQ5HGNBA


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
11 changes: 7 additions & 4 deletions get_schema
Expand Up @@ -3,11 +3,14 @@
use strict;
use warnings;

use FindBin '$Bin';
use DBIx::Class::Schema::Loader qw/ make_schema_at /;

make_schema_at(
'Literature::Schema',
{ debug => 1, dump_directory => './lib',
components => [ 'InflateColumn::DateTime' ] },
[ 'dbi:mysql:literature','literature','l173r47ur3' ],
'Literature::Schema', {
dump_directory => "$Bin/Literature/lib",
components => [ 'InflateColumn::DateTime' ],
use_moose => 1,
},
[ 'dbi:mysql:literature','literature','l173r47ur3' ],
);

0 comments on commit 95c27e9

Please sign in to comment.