00330a2c5b6e058ff11a8fce36b26e682f9ad1cb
[dbsrgits/DBIx-Class-Schema-Loader.git] / TODO
1
2 immediate stuff for 0.04:
3 --------------------------
4
5 avinash240 wants a rescan method to pick up new tables at runtime
6
7 -------
8
9 support multiple/all schemas, instead of just one
10
11 support pk/uk/fk info on views, possibly.  May or may not be a sane thing to try to do.
12
13 Fix up ResultSet Manager / Methods / etc stuff.  May require some work in the
14 main DBIx::Class first.
15
16 SQLite needs some heavy refactoring, the subroutines are becoming too complex to understand easily.
17
18 Refactor RelBuilder so that it doesn't require a live mostly-built
19 DBIx::Class::Schema, so that other modules (SQLT) can use it easier.  And then
20 when/if we get there, break it out as a seperate distribution with a new name.
21
22 Relationship stuff:
23    If local column is UNIQUE or PK, use has_one() for relation?
24    Re-scan relations/tables after initial relation setup to find ->many_to_many() relations to be set up?
25    Check NULLability of columns involved in the relationship, which might suggest a more optimal non-default -join-type?
26    While scanning for many-to-many, scan for implied rels as well? (if foo->belongs_to('bar') and baz->belongs_to('bar'), does that impliy foo->might_have('baz') and the reverse?)
27    ...