75e60e60e6600e2e8c6d10b4c09e4911d9e88bc5
[dbsrgits/DBIx-Class-Schema-Loader.git] / TODO
1
2 Better error message if no loader_options were set (see ML msg from Daniel McBrearty)
3
4 support multiple/all schemas, instead of just one
5
6 support pk/uk/fk info on views, possibly.  May or may not be a sane thing to try to do.
7
8 dump_to_dir needs an overwrite flag, and needs to not overwrite by default
9
10 Fix up ResultSet Manager / Methods / etc stuff.  May require some work in the
11 main DBIx::Class first.
12
13 SQLite needs some heavy refactoring, the subroutines are becoming too complex to understand easily.
14
15 Refactor RelBuilder so that it doesn't require a live mostly-built
16 DBIx::Class::Schema, so that other modules (SQLT) can use it easier.  And then
17 when/if we get there, break it out as a seperate distribution with a new name.
18
19 Relationship stuff:
20    If local column is UNIQUE or PK, use has_one() for relation?
21    Re-scan relations/tables after initial relation setup to find ->many_to_many() relations to be set up?
22    Check NULLability of columns involved in the relationship, which might suggest a more optimal non-default -join-type?
23    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?)
24    ...