-
Notifications
You must be signed in to change notification settings - Fork 6
/
TODO
48 lines (28 loc) · 1.34 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
- Implement support for Dia's new Database shape.
- Warn if there are typemaps for databases in the model that are not
used to generate output.
- Add general support for synonyms (replace hack in
Parse::Dia::SQL::Utils::get_base_type).
- Support index options on individual indices.
- Add test for missing FK (formerly fkNamesFromAttList)
- Add support for loading statements from external files.
- Warn on identical (or near-identical) statements in smallpackages.
- Warn attempts to create index on non-existent columns
- Add option tablespace to create statements.
- Add $VERSION to all modules.
- Make sure pre and post statement end up at the right place.
- Add options to parsediasql (identical to those of tedia2sql)
- For all classes:
- verify create table,view,index,constraint syntax
- verify drop table,view,index,constraint syntax
- Parse::Dia::SQL::Output::MySQL
- sub _get_create_table_sql must handle AUTO_INCREMENT
- Download DDL's from http://tedia2sql.tigris.org/ and
ensure Parse::Dia::SQL produces roughly the same code.
- Test with larger dia files.
- Optimize with Devel::DProf, and consider a faster XML parser.
- Be consistent in subroutine names (e.g. Output.pm)
E.g. get_<dbobject>_<(create|drop)>_sql
- Apply stricter Perl::Critic (current level 'stern', consider
'harsh').
- Update pod in all modules.