NAME

App::Office::Contacts::Util::Create - A web-based contacts manager

Synopsis

See "Synopsis" in App::Office::Contacts.

Description

App::Office::Contacts implements a utf8-aware, web-based, private and group contacts manager.

Distributions

See "Distributions" in App::Office::Contacts.

Installation

See "Installation" in App::Office::Contacts.

Object attributes

Each instance of this class is a Moo-based object, with these attributes:

o creator

Is an object of type DBIx::Admin::CreateTable.

o engine

Is a string holding - for MySQL - 'engine=innodb' and otherwise holding ''.

o verbose

Is a Boolean.

Further, each attribute name is also a method name.

Methods

create_all_tables()

Calls create_*_table() for each table, in a special order so that foreign key relationships just work.

create_communication_types_table()

create_email_address_types_table()

create_email_addresses_table()

create_email_organizations_table()

create_email_people_table()

create_genders_table()

create_log_table()

create_notes_table()

create_occupation_titles_table()

create_occupations_table()

create_organizations_table()

create_people_table()

create_phone_number_types_table()

create_phone_numbers_table()

create_phone_organizations_table()

create_phone_people_table()

create_report_entities_table()

create_reports_table()

create_roles_table()

create_sessions_table()

create_spouses_table()

create_titles_table()

create_visibilities_table()

create_yes_noes_table()

creator()

Returns an object of type DBIx::Admin::CreateTable.

drop_all_tables()

Calls drop_table($table_name) for all tables, in a special order, so foreign key relationships just work.

drop_table($table_name)

Drops the named table.

engine()

Returns a string, being 'engine=innodb' for MySQL and '' otherwise.

report($table_name, $message, $result)

Dies with an error message if there is one, otherwise prints a message (if verbose is 1).

verbose()

Returns a Boolean.

FAQ

See "FAQ" in App::Office::Contacts.

Support

See "Support" in App::Office::Contacts.

Author

App::Office::Contacts was written by Ron Savage <ron@savage.net.au> in 2013.

Home page.

Copyright

Australian copyright (c) 2013, Ron Savage. All Programs of mine are 'OSI Certified Open Source Software'; you can redistribute them and/or modify them under the terms of The Artistic License V 2, a copy of which is available at: http://www.opensource.org/licenses/index.html