fix bug in qualify_objects that would add schema to relnames
[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     - generate a schema accessor which stores which SQLT type it was loaded from
17     - add a settable 'on-behalf-of' version tag (for catalyst model)
18     - inject a table2moniker function into the schema
19     - support coderef for relationship_attrs
20     - common tests for table/column comments
21     - optimize queries
22     - remove extra select for _filter_tables
23     - option to promote non-nullable unique constraints to PK (prefer int
24       columns when more than one) (RT#51696)
25     - figure out how to represent Informix 'DATETIME YEAR TO FRACTION(5)' in a
26       way that SQLT will like
27     - support domains (aka custom data types) as a Schema deploy hook
28     - add hashref form of generate_pod to control which POD is generated
29     - add hashref form of components to control which components are added to
30       which classes
31     - check rel accessors for method conflicts
32     - add an option to add extra code to Result classes (maybe...)
33     - redo in-memory schema as an @INC coderef rather than temp files
34     - add option to filter out views
35     - support columns with names like "ro'd p/n" in MSSQL
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     - domains
58   - DB2
59     - table/column comments
60     - introspect on_update/on_delete/is_deferrable
61     - introspect view SQL
62     - domains
63   - Oracle
64     - table/column comments
65     - introspect on_update/on_delete/is_deferrable
66     - introspect view SQL
67     - domains
68   - Sybase ASE
69     - table/column comments
70     - introspect on_update/on_delete/is_deferrable
71     - introspect view SQL
72     - domains
73   - MSSQL
74     - table/column comments
75     - introspect on_update/on_delete/is_deferrable
76     - introspect view SQL
77     - computed column support
78     - domains
79     - Optimization
80       - use one query for whole table instead of query-per-column in _columns_info_for
81       - use placeholders when available
82   - SQLAnywhere
83     - table/column comments
84     - introspect on_update/on_delete/is_deferrable
85     - introspect view SQL
86     - domains
87   - Firebird
88     - table/column comments
89     - introspect on_update/on_delete/is_deferrable
90     - introspect view SQL
91     - domains
92   - Informix
93     - data_type tests
94     - table/column comments
95     - introspect on_update/on_delete/is_deferrable
96     - introspect view SQL
97     - domains