8 |
column name => |
column name => |
9 |
type is 'text', |
type is 'text', |
10 |
label is 'Name of database', |
label is 'Name of database', |
11 |
mandatory, |
is not_null, |
12 |
distinct; |
is distinct; |
13 |
|
|
14 |
column dsn => |
column dsn => |
15 |
type is 'text', |
type is 'text', |
16 |
label is 'DBI connection string', |
label is 'DBI connection string', |
17 |
hints is 'for PostgreSQL you might try something like: DBI:Pg:dbname=test', |
hints is 'for PostgreSQL you might try something like: DBI:Pg:dbname=test', |
18 |
mandatory; |
is not_null; |
19 |
|
|
20 |
column login => |
column login => |
21 |
type is 'text', |
type is 'text', |
26 |
label is 'database password'; |
label is 'database password'; |
27 |
}; |
}; |
28 |
|
|
29 |
|
sub since { '0.0.1' } |
30 |
|
|
31 |
# Your model-specific methods go here. |
# Your model-specific methods go here. |
32 |
|
|
33 |
sub current_user_can { |
sub current_user_can { |