diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-03 12:16:00 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-03 12:16:00 +0100 |
commit | 3649ca1847a241cdabd177d0ec227e3f593ed874 (patch) | |
tree | 5097632634cc2e407eb7199884bc3856ae773834 | |
parent | 9ac1bac73d0b12f313d6863832b4b5547fded756 (diff) |
generate model for secret table
-rwxr-xr-x | db/rerun_dbic_loader.pl | 1 | ||||
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Secret.pm | 21 |
2 files changed, 21 insertions, 1 deletions
diff --git a/db/rerun_dbic_loader.pl b/db/rerun_dbic_loader.pl index 4437241e8..71efa5db5 100755 --- a/db/rerun_dbic_loader.pl +++ b/db/rerun_dbic_loader.pl @@ -19,7 +19,6 @@ my @tables_to_ignore = ( 'debugdate', # 'flickr_imported', # 'partial_user', # - 'secret', # 'textmystreet', # ); my $exclude = '^(?:' . join( '|', @tables_to_ignore ) . ')$'; diff --git a/perllib/FixMyStreet/DB/Result/Secret.pm b/perllib/FixMyStreet/DB/Result/Secret.pm new file mode 100644 index 000000000..399f0be18 --- /dev/null +++ b/perllib/FixMyStreet/DB/Result/Secret.pm @@ -0,0 +1,21 @@ +package FixMyStreet::DB::Result::Secret; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + +__PACKAGE__->load_components("FilterColumn", "InflateColumn::DateTime"); +__PACKAGE__->table("secret"); +__PACKAGE__->add_columns("secret", { data_type => "text", is_nullable => 0 }); + + +# Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-06-03 12:02:18 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Htl6+DHfHy9l+bjBxAbH6Q + + +# You can replace this text with custom code or comments, and it will be preserved on regeneration +1; |