Commit Graph

6 Commits

Author SHA1 Message Date
Guillaume DELVIT
e55cf14a07 Improve capacity of model extraction for legacy SQLite DB
Extended version with support of 
 - Inline CREATE TABLE declaration in sqlite DB. 
 - "ID_MYTABLE" as REFERENCE PRIMARY KEY
2020-01-01 11:52:34 +01:00
mdipierro
1790688357 some changes in permissions, thanks Paolo 2019-05-18 22:18:24 -07:00
Sven Bachmann
d7d00d1f45 fixed SQLite type matching by converting all types to lower case
SQLite 3.8.6 create table dump uses upper case types.
2015-02-20 21:41:02 +01:00
Sven Bachmann
11c90ef885 fixed sqlite create table parse regex
At least SQLite 3.8.6 uses the format:

[item]        type,
[item]        type,
[item]        type,

The previous variant tried to parse lines like:

"item"        type,
"item"        type,
"item"        type,
2015-02-20 21:37:40 +01:00
TierraDelFuego
e363ee0994 Change the call to python from /usr/bin/python to /usr/bin/env python so the correct python is called when using virtualenv. Remove the the call if not needed. 2013-01-12 23:34:35 -08:00
mdipierro
15e5b1a2f0 scripts/extract_sqlite_models.py, thanks Michele 2012-10-31 10:23:56 -05:00