update TODO
[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     - normalize float/real/double data types in a most cross-deployment friendly
18       fashion, using float(25) as the double boundary where possible
19     - finish data_type tests for all DBs (DB2 and Informix left)
20     - generate a schema accessor which stores which SQLT type it was loaded from
21     - add a settable 'on-behalf-of' version tag (for catalyst model)
22     - inject a table2moniker function into the schema
23     - support coderef for relationship_attrs
24     - common tests for table/column comments
25     - optimize queries
26     - remove extra select for _filter_tables
27     - option to promote non-nullable unique constraints to PK (prefer int
28       columns when more than one) (RT#51696)
29     - figure out how to represent Informix 'DATETIME YEAR TO FRACTION(5)' in a
30       way that SQLT will like
31     - support domains (aka custom data types) as a Schema deploy hook
32     - add hashref form of generate_pod to control which POD is generated
33     - add hashref form of components to control which components are added to
34       which classes
35     - add original => {} to all type info rewrites
36
37 - Relationships
38    - Re-scan relations/tables after initial relation setup to find
39      ->many_to_many() relations to be set up
40    - While scanning for many-to-many, scan for implied rels as well (if
41      foo->belongs_to('bar') and baz->belongs_to('bar'), does that impliy
42      foo->might_have('baz') and the reverse?)
43
44 - Backends
45   - SQLite
46     - table/column comments
47     - introspect on_update/on_delete/is_deferrable
48     - introspect view SQL
49   - MySQL
50     - table/column comments
51     - introspect on_update/on_delete/is_deferrable
52     - introspect view SQL
53     - domains?
54   - Pg
55     - introspect on_update/on_delete/is_deferrable
56     - introspect view SQL
57     - preserve_case mode
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     - preserve_case mode
65     - domains
66   - Oracle
67     - data_type tests
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     - preserve_case mode
92     - domains
93   - Firebird
94     - table/column comments
95     - introspect on_update/on_delete/is_deferrable
96     - introspect view SQL
97     - domains
98   - Informix
99     - data_type tests
100     - preserve_case mode
101     - table/column comments
102     - introspect on_update/on_delete/is_deferrable
103     - introspect view SQL
104     - domains