DbicSchemaViewer - TestFor::MPDbicSchemaViewer::Schema

# Schema documentation for TestFor::MPDbicSchemaViewer::Schema

## Author

Columns

| Name | Type | Autoinc | Nullable | Default | Unique | Indexed
--- | --- | --- | --- | --- | --- | --- | ---
pk | author_id | int | yes |  |  | primary |
| name | varchar |  |  |  |  |
| birth_date | datetime |  |  |  |  |

Relationships

Name | Class | Accessor | Cascade on | Condition
--- | --- | --- | --- | ---
book_authors | BookAuthor | multi | copy, delete |
    author_id => book_authors.author_id

## Book

Columns

| Name | Type | Autoinc | Nullable | Default | Unique | Indexed
--- | --- | --- | --- | --- | --- | --- | ---
pk | book_id | int | yes |  |  | primary |
| isbn | varchar(13) |  |  |  |  |
| title | varchar |  |  |  |  |

Relationships

Name | Class | Accessor | Cascade on | Condition
--- | --- | --- | --- | ---
book_authors | BookAuthor | multi | copy, delete |
    book_id => book_authors.book_id

## BookAuthor

Columns

| Name | Type | Autoinc | Nullable | Default | Unique | Indexed
--- | --- | --- | --- | --- | --- | --- | ---
pk | book_id | int |  |  |  | primary |
pk | author_id | int |  |  |  | primary |

Relationships

Name | Class | Accessor | Cascade on | Condition
--- | --- | --- | --- | ---
author | Author | single |  |
    author_id => author.author_id
book | Book | single |  |
    book_id => book.book_id

## ResultSourceWithMissingRelation

Columns

| Name | Type | Autoinc | Nullable | Default | Unique | Indexed
--- | --- | --- | --- | --- | --- | --- | ---
pk | an_id | integer | yes |  |  | primary |
| author_id | int |  |  |  |  |

Relationships

Name | Class | Accessor | Cascade on | Condition
--- | --- | --- | --- | ---
Missing reverse relation author | Author | single |  |
    author_id => author.author_id

Powered by Mojolicious::Plugin::DbicSchemaViewer