Parent Directory | Revision Log
initial import of toy Jifty application
1 | use strict; |
2 | use warnings; |
3 | |
4 | package SQLSession::Model::Page; |
5 | use Jifty::DBI::Schema; |
6 | use SQLSession::Model::Database; |
7 | |
8 | use SQLSession::Record schema { |
9 | column name => |
10 | type is 'text', |
11 | distinct, |
12 | hints is 'Short name of this page', |
13 | mandatory; |
14 | |
15 | column sql_query => |
16 | type is 'text', |
17 | label is 'SQL query', |
18 | mandatory, |
19 | distinct, |
20 | hints is 'Use this area to enter SQL query', |
21 | render as 'textarea'; |
22 | |
23 | column on_database => |
24 | refers_to SQLSession::Model::Database by 'name'; |
25 | }; |
26 | |
27 | # Your model-specific methods go here. |
28 | |
29 | 1; |
30 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |