use warnings; use strict; package Jifty::DBI::Schema; =head1 NAME Jifty::DBI::Schema - Use a simple syntax to describe a Jifty table. =head1 SYNOPSIS package MyApp::Model::Page; use Jifty::DBI::Schema; use Jifty::DBI::Record schema { # ... your columns here ... }; =cut =head1 DESCRIPTION Each Jifty Application::Model::Class module describes a record class for a Jifty application. Each C statement sets out the name and attributes used to describe the column in a backend database, in user interfaces, and other contexts. For example: column content => type is 'text', label is 'Content', render as 'textarea'; defines a column called C that is of type C. It will be rendered with the label C (note the capital) and as a C