From: Frank Brehm Date: Thu, 9 Aug 2007 14:47:12 +0000 (+0000) Subject: Müll weggeworfen X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=e56ff97c5a3637831ed531b681e91e2f85bd61e0;p=cookbook.git Müll weggeworfen git-svn-id: http://svn.brehm-online.com/svn/cookbook/trunk@16 191103c4-1d37-0410-b3e5-d8c2315c0aac --- diff --git a/lib/CookBook/Db/Recipes.pm b/lib/CookBook/Db/Recipes.pm index fb65562..07576fe 100644 --- a/lib/CookBook/Db/Recipes.pm +++ b/lib/CookBook/Db/Recipes.pm @@ -46,9 +46,9 @@ __PACKAGE__->add_columns( "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, }, diff --git a/lib/CookBook/Plugin/ConfigLoader.pm b/lib/CookBook/Plugin/ConfigLoader.pm index 72a032b..b730c09 100644 --- a/lib/CookBook/Plugin/ConfigLoader.pm +++ b/lib/CookBook/Plugin/ConfigLoader.pm @@ -1,6 +1,6 @@ package CookBook::Plugin::ConfigLoader; -# $Id: ConfigLoader.pm 61 2007-06-11 16:45:13Z fbrehm $ +# $Id$ # $URL$ use base "Catalyst::Plugin::ConfigLoader"; diff --git a/lib/CookBookDb.pm b/lib/CookBookDb.pm deleted file mode 100644 index 419d2d7..0000000 --- a/lib/CookBookDb.pm +++ /dev/null @@ -1,14 +0,0 @@ -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; diff --git a/lib/CookBookDb/Authors.pm b/lib/CookBookDb/Authors.pm deleted file mode 100644 index 9c88a64..0000000 --- a/lib/CookBookDb/Authors.pm +++ /dev/null @@ -1,24 +0,0 @@ -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; diff --git a/lib/CookBookDb/RecipeAuthors.pm b/lib/CookBookDb/RecipeAuthors.pm deleted file mode 100644 index 1c59b73..0000000 --- a/lib/CookBookDb/RecipeAuthors.pm +++ /dev/null @@ -1,23 +0,0 @@ -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; diff --git a/lib/CookBookDb/Recipes.pm b/lib/CookBookDb/Recipes.pm deleted file mode 100644 index cb2eaaf..0000000 --- a/lib/CookBookDb/Recipes.pm +++ /dev/null @@ -1,57 +0,0 @@ -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; diff --git a/lib/CookBookDb/Session.pm b/lib/CookBookDb/Session.pm deleted file mode 100644 index 2ca92d7..0000000 --- a/lib/CookBookDb/Session.pm +++ /dev/null @@ -1,21 +0,0 @@ -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; diff --git a/lib/CookBookDb/SessionLog.pm b/lib/CookBookDb/SessionLog.pm deleted file mode 100644 index 0693738..0000000 --- a/lib/CookBookDb/SessionLog.pm +++ /dev/null @@ -1,66 +0,0 @@ -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; diff --git a/lib/CookBookDb/Users.pm b/lib/CookBookDb/Users.pm deleted file mode 100644 index 2a030b6..0000000 --- a/lib/CookBookDb/Users.pm +++ /dev/null @@ -1,31 +0,0 @@ -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; diff --git a/lib/CookBookDb/YieldTypes.pm b/lib/CookBookDb/YieldTypes.pm deleted file mode 100644 index 6332cba..0000000 --- a/lib/CookBookDb/YieldTypes.pm +++ /dev/null @@ -1,22 +0,0 @@ -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;