Catalyst-Authentication-RedmineCookie

 view release on metacpan or  search on metacpan

lib/Catalyst/Authentication/RedmineCookie/Schema/Result/Members.pm  view on Meta::CPAN

  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
  "user_id",
  { data_type => "integer", default_value => 0, is_nullable => 0 },
  "project_id",
  { data_type => "integer", default_value => 0, is_nullable => 0 },
  "created_on",
  {
    data_type => "datetime",
    datetime_undef_if_invalid => 1,
    is_nullable => 1,
    locale => "ja_JP",
    timezone => "Asia/Tokyo",
  },
  "mail_notification",
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
);
__PACKAGE__->set_primary_key("id");
__PACKAGE__->add_unique_constraint(
  "index_members_on_user_id_and_project_id",
  ["user_id", "project_id"],
);

lib/Catalyst/Authentication/RedmineCookie/Schema/Result/Projects.pm  view on Meta::CPAN

  { data_type => "varchar", default_value => "", is_nullable => 1, size => 255 },
  "is_public",
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
  "parent_id",
  { data_type => "integer", is_nullable => 1 },
  "created_on",
  {
    data_type => "datetime",
    datetime_undef_if_invalid => 1,
    is_nullable => 1,
    locale => "ja_JP",
    timezone => "Asia/Tokyo",
  },
  "updated_on",
  {
    data_type => "datetime",
    datetime_undef_if_invalid => 1,
    is_nullable => 1,
    locale => "ja_JP",
    timezone => "Asia/Tokyo",
  },
  "identifier",
  { data_type => "varchar", is_nullable => 1, size => 255 },
  "status",
  { data_type => "integer", default_value => 1, is_nullable => 0 },
  "lft",
  { data_type => "integer", is_nullable => 1 },
  "rgt",
  { data_type => "integer", is_nullable => 1 },

lib/Catalyst/Authentication/RedmineCookie/Schema/Result/Users.pm  view on Meta::CPAN

  { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
  "admin",
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
  "status",
  { data_type => "integer", default_value => 1, is_nullable => 0 },
  "last_login_on",
  {
    data_type => "datetime",
    datetime_undef_if_invalid => 1,
    is_nullable => 1,
    locale => "ja_JP",
    timezone => "Asia/Tokyo",
  },
  "language",
  { data_type => "varchar", default_value => "", is_nullable => 1, size => 5 },
  "auth_source_id",
  { data_type => "integer", is_nullable => 1 },
  "created_on",
  {
    data_type => "datetime",
    datetime_undef_if_invalid => 1,
    is_nullable => 1,
    locale => "ja_JP",
    timezone => "Asia/Tokyo",
  },
  "updated_on",
  {
    data_type => "datetime",
    datetime_undef_if_invalid => 1,
    is_nullable => 1,
    locale => "ja_JP",
    timezone => "Asia/Tokyo",
  },
  "type",
  { data_type => "varchar", is_nullable => 1, size => 255 },
  "identity_url",
  { data_type => "varchar", is_nullable => 1, size => 255 },
  "mail_notification",
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
  "salt",
  { data_type => "varchar", is_nullable => 1, size => 64 },
  "must_change_passwd",
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
  "passwd_changed_on",
  {
    data_type => "datetime",
    datetime_undef_if_invalid => 1,
    is_nullable => 1,
    locale => "ja_JP",
    timezone => "Asia/Tokyo",
  },
);
__PACKAGE__->set_primary_key("id");


# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-01-17 15:00:06
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ey0e2tONk/+4wGUDT0i0fw


script/schema_loader.pl  view on Meta::CPAN


# find /usr/local/www/redmine/app/models -type f | sort | xargs greple -pe '^\s*(has_many|belongs_to|might_have|has_one|many_to_many|has_and_belongs_to_many)' | less 

make_schema_at(
    "Catalyst::Authentication::RedmineCookie::Schema",
    {
        _components => [
            "IntrospectableM2M",
        ],
        datetime_timezone => "Asia/Tokyo",
        datetime_locale   => "ja_JP",
        ( $default_resultset_class ? ( default_resultset_class => $default_resultset_class ) : () ),
        dump_directory => './lib',
        constraint => qr/^(user|group|member|role|project)/i,
        exclude    => qr/managed|tracker/i,
        generate_pod => 0,
        naming => 'preserve',
        ( $result_base_class ? ( result_base_class => $result_base_class ) : () ),
        use_moose      => 0,
        use_namespaces => 1,
    },



( run in 1.982 second using v1.01-cache-2.11-cpan-ceb78f64989 )