"locked" => { 'data_type' => "ENUM", 'default_value' => "n", 'is_nullable' => 0, 'size' => 1, },
"preface" => { 'data_type' => "TEXT", 'default_value' => "", 'is_nullable' => 1, 'size' => 65535, },
"instructions" => { 'data_type' => "TEXT", 'default_value' => "", 'is_nullable' => 0, 'size' => 65535, },
- "yield_amount" => { 'data_type' => "FLOAT", 'default_value' => 0, 'is_nullable' => 0, 'size' => 10, 'extras' => { 'unsigned' => 1 }, },
+ "yield_amount" => { 'data_type' => "FLOAT", 'default_value' => 0, 'is_nullable' => 0, 'size' => 32, 'extras' => { 'unsigned' => 1 }, },
"yield_amount_offset" =>
- { 'data_type' => "FLOAT", 'default_value' => undef, 'is_nullable' => 1, 'size' => 10, 'extras' => { 'unsigned' => 1 }, },
+ { 'data_type' => "FLOAT", 'default_value' => undef, 'is_nullable' => 1, 'size' => 32, 'extras' => { 'unsigned' => 1 }, },
"yield_type_id" =>
{ 'data_type' => "INT", 'default_value' => undef, 'is_nullable' => 1, 'size' => 10, 'extras' => { 'unsigned' => 1 }, },
"prep_time" => { 'data_type' => "TIME", 'default_value' => undef, 'is_nullable' => 1, 'size' => 8, },
package CookBook::Plugin::ConfigLoader;
-# $Id: ConfigLoader.pm 61 2007-06-11 16:45:13Z fbrehm $
+# $Id$
# $URL$
use base "Catalyst::Plugin::ConfigLoader";
+++ /dev/null
-package CookBookDb;
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class::Schema';
-
-__PACKAGE__->load_classes;
-
-# Created by DBIx::Class::Schema::Loader v0.04002 @ 2007-08-09 16:13:40
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:K8bZ7fKZDMRmA4VFZOZxlw
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;
+++ /dev/null
-package CookBookDb::Authors;
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class';
-
-__PACKAGE__->load_components("Core");
-__PACKAGE__->table("authors");
-__PACKAGE__->add_columns(
- "author_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 10 },
- "user_id", { data_type => "INT", default_value => undef, is_nullable => 1, size => 10 },
- "old_author_id", { data_type => "INT", default_value => undef, is_nullable => 1, size => 11 },
- "author_name", { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 100 },
- "date_created", { data_type => "DATETIME", default_value => "", is_nullable => 0, size => 19 },
-);
-__PACKAGE__->set_primary_key("author_id");
-__PACKAGE__->add_unique_constraint( "author_name", ["author_name"] );
-
-# Created by DBIx::Class::Schema::Loader v0.04002 @ 2007-08-09 16:13:40
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/TukBw4LW+WnFPWauqg4pQ
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;
+++ /dev/null
-package CookBookDb::RecipeAuthors;
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class';
-
-__PACKAGE__->load_components("Core");
-__PACKAGE__->table("recipe_authors");
-__PACKAGE__->add_columns(
- "recipe_author_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 10 },
- "recipe_id", { data_type => "INT", default_value => "", is_nullable => 0, size => 10 },
- "author_id", { data_type => "INT", default_value => "", is_nullable => 0, size => 10 },
- "order_index", { data_type => "INT", default_value => "", is_nullable => 0, size => 10 },
- "date_created", { data_type => "DATETIME", default_value => "", is_nullable => 0, size => 19 },
-);
-__PACKAGE__->set_primary_key("recipe_author_id");
-
-# Created by DBIx::Class::Schema::Loader v0.04002 @ 2007-08-09 16:13:40
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KFDI7zAqfecL+bbLpF1nNw
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;
+++ /dev/null
-package CookBookDb::Recipes;
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class';
-
-__PACKAGE__->load_components("Core");
-__PACKAGE__->table("recipes");
-__PACKAGE__->add_columns(
- "recipe_id",
- { data_type => "INT", default_value => undef, is_nullable => 0, size => 10 },
- "old_recipe_id",
- { data_type => "INT", default_value => undef, is_nullable => 1, size => 11 },
- "rid",
- { data_type => "CHAR", default_value => "", is_nullable => 0, size => 32 },
- "title",
- { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 250 },
- "published",
- { data_type => "ENUM", default_value => "n", is_nullable => 0, size => 1 },
- "deleted",
- { data_type => "ENUM", default_value => "", is_nullable => 0, size => 1 },
- "locked",
- { data_type => "ENUM", default_value => "n", is_nullable => 0, size => 1 },
- "preface",
- { data_type => "TEXT",
- default_value => undef,
- is_nullable => 1,
- size => 65535,
- },
- "instructions",
- { data_type => "TEXT", default_value => "", is_nullable => 0, size => 65535 },
- "yield_amount",
- { data_type => "FLOAT", default_value => 0, is_nullable => 0, size => 32 },
- "yield_amount_offset",
- { data_type => "FLOAT", default_value => undef, is_nullable => 1, size => 32 },
- "yield_type_id",
- { data_type => "INT", default_value => undef, is_nullable => 1, size => 10 },
- "prep_time",
- { data_type => "TIME", default_value => undef, is_nullable => 1, size => 8 },
- "date_created",
- { data_type => "DATETIME", default_value => "", is_nullable => 0, size => 19 },
- "user_created",
- { data_type => "INT", default_value => "", is_nullable => 0, size => 10 },
- "date_changed",
- { data_type => "DATETIME", default_value => "", is_nullable => 0, size => 19 },
- "user_changed",
- { data_type => "INT", default_value => "", is_nullable => 0, size => 10 },
-);
-__PACKAGE__->set_primary_key("recipe_id");
-__PACKAGE__->add_unique_constraint( "rid", ["rid"] );
-
-# Created by DBIx::Class::Schema::Loader v0.04002 @ 2007-08-09 16:13:40
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pKlDxFw7PBwJQ+h8Z8FxLQ
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;
+++ /dev/null
-package CookBookDb::Session;
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class';
-
-__PACKAGE__->load_components("Core");
-__PACKAGE__->table("session");
-__PACKAGE__->add_columns(
- "id", { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 72 },
- "session_data", { data_type => "TEXT", default_value => "", is_nullable => 0, size => 65535 },
- "expires", { data_type => "INT", default_value => "", is_nullable => 0, size => 10 },
-);
-__PACKAGE__->set_primary_key("id");
-
-# Created by DBIx::Class::Schema::Loader v0.04002 @ 2007-08-09 16:13:40
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SEGt7AaZSpdxN24W2qkkFg
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;
+++ /dev/null
-package CookBookDb::SessionLog;
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class';
-
-__PACKAGE__->load_components("Core");
-__PACKAGE__->table("session_log");
-__PACKAGE__->add_columns(
- "session_log_id",
- { data_type => "INT", default_value => undef, is_nullable => 0, size => 10 },
- "user_id",
- { data_type => "INT", default_value => "", is_nullable => 0, size => 10 },
- "login_time",
- { data_type => "DATETIME", default_value => "", is_nullable => 0, size => 19 },
- "logout_time",
- { data_type => "DATETIME",
- default_value => undef,
- is_nullable => 1,
- size => 19,
- },
- "logout_reason",
- { data_type => "ENUM", default_value => undef, is_nullable => 1, size => 9 },
- "session_id",
- { data_type => "VARCHAR",
- default_value => undef,
- is_nullable => 1,
- size => 72,
- },
- "login",
- { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 50 },
- "user_name",
- { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 110 },
- "client_ip",
- { data_type => "VARCHAR",
- default_value => undef,
- is_nullable => 1,
- size => 20,
- },
- "client_host",
- { data_type => "VARCHAR",
- default_value => undef,
- is_nullable => 1,
- size => 200,
- },
- "user_agent",
- { data_type => "VARCHAR",
- default_value => undef,
- is_nullable => 1,
- size => 250,
- },
- "server",
- { data_type => "VARCHAR",
- default_value => undef,
- is_nullable => 1,
- size => 100,
- },
-);
-__PACKAGE__->set_primary_key("session_log_id");
-
-# Created by DBIx::Class::Schema::Loader v0.04002 @ 2007-08-09 16:13:40
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RmQzAMVSZmvYuFzIczRQ2Q
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;
+++ /dev/null
-package CookBookDb::Users;
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class';
-
-__PACKAGE__->load_components("Core");
-__PACKAGE__->table("users");
-__PACKAGE__->add_columns(
- "user_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 10 },
- "login", { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 50 },
- "vorname", { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 100 },
- "nachname", { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 100 },
- "password", { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 250 },
- "date_created", { data_type => "DATETIME", default_value => "", is_nullable => 0, size => 19 },
- "date_changed", { data_type => "DATETIME", default_value => "", is_nullable => 0, size => 19 },
- "email", { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 250 },
- "deleted", { data_type => "ENUM", default_value => "n", is_nullable => 0, size => 1 },
- "enabled", { data_type => "ENUM", default_value => "y", is_nullable => 0, size => 1 },
- "admin_status", { data_type => "ENUM", default_value => "n", is_nullable => 0, size => 1 },
- "comments", { data_type => "TEXT", default_value => "", is_nullable => 0, size => 65535 },
-);
-__PACKAGE__->set_primary_key("user_id");
-__PACKAGE__->add_unique_constraint( "login", ["login"] );
-
-# Created by DBIx::Class::Schema::Loader v0.04002 @ 2007-08-09 16:13:40
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4RbgZUha9qaD/QHFdiXuGw
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;
+++ /dev/null
-package CookBookDb::YieldTypes;
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class';
-
-__PACKAGE__->load_components("Core");
-__PACKAGE__->table("yield_types");
-__PACKAGE__->add_columns(
- "yield_type_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 10 },
- "yield_type_name", { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 30 },
- "date_created", { data_type => "DATETIME", default_value => "", is_nullable => 0, size => 19 },
-);
-__PACKAGE__->set_primary_key("yield_type_id");
-__PACKAGE__->add_unique_constraint( "yield_type_name", ["yield_type_name"] );
-
-# Created by DBIx::Class::Schema::Loader v0.04002 @ 2007-08-09 16:13:40
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WuKiqaAPGCPQ5kC0gs+yqQ
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;