try to support bizarre column names
[dbsrgits/DBIx-Class-Schema-Loader.git] / TODO
1 - General
2   - High Priority
3     - clean out RT queue
4     - introspect views and make proper ResultSource::View classes with defining SQL
5     - encode loader options in Schema.pm
6     - introspect on_update/on_delete/is_deferrable
7     - preserve_case mode for remaining backends
8   - Low Priority
9     - support multiple/all schemas, instead of just one
10     - support pk/uk/fk info on views, possibly (materialized views?)
11     - remove deprecated ResultSetManager stuff, rewrite using current features
12     - Refactor RelBuilder so that it doesn't require a live mostly-built
13       DBIx::Class::Schema, so that other modules (SQLT) can use it easier.  And
14       then when/if we get there, break it out as a seperate distribution with a
15       new name.
16     - support for user-defined-types as Schema deploy hooks
17     - finish data_type tests for all DBs (DB2 and Informix left)
18     - generate a schema accessor which stores which SQLT type it was loaded from
19     - add a settable 'on-behalf-of' version tag (for catalyst model)
20     - inject a table2moniker function into the schema
21     - support coderef for relationship_attrs
22     - common tests for table/column comments
23     - optimize queries
24     - remove extra select for _filter_tables
25     - option to promote non-nullable unique constraints to PK (prefer int
26       columns when more than one) (RT#51696)
27     - figure out how to represent Informix 'DATETIME YEAR TO FRACTION(5)' in a
28       way that SQLT will like
29     - support domains (aka custom data types) as a Schema deploy hook
30     - add hashref form of generate_pod to control which POD is generated
31     - add hashref form of components to control which components are added to
32       which classes
33     - add common tests for preserve_case option
34     - check rel accessors for method conflicts
35     - add an option to add extra code to Result classes
36     - redo in-memory schema as an @INC coderef rather than temp files
37
38 - Relationships
39    - Re-scan relations/tables after initial relation setup to find
40      ->many_to_many() relations to be set up
41    - While scanning for many-to-many, scan for implied rels as well (if
42      foo->belongs_to('bar') and baz->belongs_to('bar'), does that impliy
43      foo->might_have('baz') and the reverse?)
44
45 - Backends
46   - SQLite
47     - table/column comments
48     - introspect on_update/on_delete/is_deferrable
49     - introspect view SQL
50   - MySQL
51     - table/column comments
52     - introspect on_update/on_delete/is_deferrable
53     - introspect view SQL
54     - domains?
55   - Pg
56     - introspect on_update/on_delete/is_deferrable
57     - introspect view SQL
58     - preserve_case mode
59     - domains
60   - DB2
61     - data_type tests
62     - table/column comments
63     - introspect on_update/on_delete/is_deferrable
64     - introspect view SQL
65     - preserve_case mode
66     - domains
67   - Oracle
68     - table/column comments
69     - introspect on_update/on_delete/is_deferrable
70     - introspect view SQL
71     - preserve_case mode
72     - domains
73   - Sybase ASE
74     - table/column comments
75     - introspect on_update/on_delete/is_deferrable
76     - introspect view SQL
77     - domains
78   - MSSQL
79     - table/column comments
80     - introspect on_update/on_delete/is_deferrable
81     - introspect view SQL
82     - computed column support
83     - domains
84     - Optimization
85       - use one query for whole table instead of query-per-column in _columns_info_for
86       - use placeholders when available
87   - SQLAnywhere
88     - table/column comments
89     - introspect on_update/on_delete/is_deferrable
90     - introspect view SQL
91     - domains
92   - Firebird
93     - table/column comments
94     - introspect on_update/on_delete/is_deferrable
95     - introspect view SQL
96     - domains
97   - Informix
98     - data_type tests
99     - preserve_case mode
100     - table/column comments
101     - introspect on_update/on_delete/is_deferrable
102     - introspect view SQL
103     - domains