better type info for DB2
[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   - Low Priority
8     - support multiple/all schemas, instead of just one
9     - support pk/uk/fk info on views, possibly (materialized views?)
10     - remove deprecated ResultSetManager stuff, rewrite using current features
11     - Refactor RelBuilder so that it doesn't require a live mostly-built
12       DBIx::Class::Schema, so that other modules (SQLT) can use it easier.  And
13       then when/if we get there, break it out as a seperate distribution with a
14       new name.
15     - support for user-defined-types as Schema deploy hooks
16     - finish data_type tests for all DBs (DB2 and Informix left)
17     - generate a schema accessor which stores which SQLT type it was loaded from
18     - add a settable 'on-behalf-of' version tag (for catalyst model)
19     - inject a table2moniker function into the schema
20     - support coderef for relationship_attrs
21     - common tests for table/column comments
22     - optimize queries
23     - remove extra select for _filter_tables
24     - option to promote non-nullable unique constraints to PK (prefer int
25       columns when more than one) (RT#51696)
26     - figure out how to represent Informix 'DATETIME YEAR TO FRACTION(5)' in a
27       way that SQLT will like
28     - support domains (aka custom data types) as a Schema deploy hook
29     - add hashref form of generate_pod to control which POD is generated
30     - add hashref form of components to control which components are added to
31       which classes
32     - check rel accessors for method conflicts
33     - add an option to add extra code to Result classes (maybe...)
34     - redo in-memory schema as an @INC coderef rather than temp files
35     - add option to filter out views
36     - support columns with names like "ro'd p/n" in MSSQL
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     - domains
59   - DB2
60     - data_type tests
61     - table/column comments
62     - introspect on_update/on_delete/is_deferrable
63     - introspect view SQL
64     - domains
65   - Oracle
66     - table/column comments
67     - introspect on_update/on_delete/is_deferrable
68     - introspect view SQL
69     - domains
70   - Sybase ASE
71     - table/column comments
72     - introspect on_update/on_delete/is_deferrable
73     - introspect view SQL
74     - domains
75   - MSSQL
76     - table/column comments
77     - introspect on_update/on_delete/is_deferrable
78     - introspect view SQL
79     - computed column support
80     - domains
81     - Optimization
82       - use one query for whole table instead of query-per-column in _columns_info_for
83       - use placeholders when available
84   - SQLAnywhere
85     - table/column comments
86     - introspect on_update/on_delete/is_deferrable
87     - introspect view SQL
88     - domains
89   - Firebird
90     - table/column comments
91     - introspect on_update/on_delete/is_deferrable
92     - introspect view SQL
93     - domains
94   - Informix
95     - data_type tests
96     - table/column comments
97     - introspect on_update/on_delete/is_deferrable
98     - introspect view SQL
99     - domains