X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=TODO;h=6b961012795e1fbf5fc0ab33918d50b6451a7683;hb=bc5afe555b3a01ba28368c7f8aeb9c653074417b;hp=8db718c2155bfc4b5583d503eef00aa06dcfe1e4;hpb=c2849787d7804fcbe541c8063e240ceff0e5ff10;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/TODO b/TODO index 8db718c..6b96101 100644 --- a/TODO +++ b/TODO @@ -1,14 +1,76 @@ +- General + - High Priority + - clean out RT queue + - introspect views and make proper ResultSource::View classes with defining SQL + - encode loader options in Schema.pm + - introspect on_update/on_delete/is_deferrable + - preserve_case mode for remaining backends + - Low Priority + - support multiple/all schemas, instead of just one + - support pk/uk/fk info on views, possibly (materialized views?) + - remove deprecated ResultSetManager stuff, rewrite using current features + - Refactor RelBuilder so that it doesn't require a live mostly-built DBIx::Class::Schema, so that other modules (SQLT) can use it easier. And then when/if we get there, break it out as a seperate distribution with a new name. + - support for user-defined-types as Schema deploy hooks + - normalize float/real/double data types in a most cross-deployment friendly fashion, using float(25) as the double boundary where possible + - finish data_type tests for all DBs (DB2 and Oracle left) + - support for Informix + - generate a schema accessor which stores which SQLT type it was loaded from + - add a settable 'on-behalf-of' version tag (for catalyst model) + - inject a table2moniker function into the schema + - support coderef for relationship_attrs + - common tests for table/column comments + - optimize queries + - remove extra select for _filter_tables + - option to promote non-nullable unique constraints to PK (prefer int + columns when more than one) (RT#51696) -Reminders to myself or whoever else ever looks in here... +- Relationships + - Re-scan relations/tables after initial relation setup to find ->many_to_many() relations to be set up + - 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?) -SQLite needs some heavy refactoring, the subroutines are becoming too complex to understand easily. - -Relationship-building needs to be refactored into a seperate module to share with SQLT. - -Relationship stuff: - Fix multiple rels between same pair of tables - If local column is UNIQUE or PK, use has_one() for relation? - Re-scan relations/tables after initial relation setup to find ->many_to_many() relations to be set up? - Check NULLability of columns involved in the relationship, which might suggest a more optimal non-default -join-type? - 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?) -... +- Backends + - SQLite + - table/column comments + - introspect on_update/on_delete/is_deferrable + - introspect view SQL + - MySQL + - table/column comments + - introspect on_update/on_delete/is_deferrable + - introspect view SQL + - Pg + - introspect on_update/on_delete/is_deferrable + - introspect view SQL + - preserve_case mode + - DB2 + - data_type tests + - table/column comments + - introspect on_update/on_delete/is_deferrable + - introspect view SQL + - preserve_case mode + - Oracle + - data_type tests + - table/column comments + - introspect on_update/on_delete/is_deferrable + - introspect view SQL + - preserve_case mode + - Sybase ASE + - table/column comments + - introspect on_update/on_delete/is_deferrable + - introspect view SQL + - MSSQL + - table/column comments + - introspect on_update/on_delete/is_deferrable + - introspect view SQL + - computed column support + - Optimization + - use one query for whole table instead of query-per-column in _columns_info_for + - use placeholders when available + - SQLAnywhere + - table/column comments + - introspect on_update/on_delete/is_deferrable + - introspect view SQL + - preserve_case mode + - Firebird + - table/column comments + - introspect on_update/on_delete/is_deferrable + - introspect view SQL