Skip to content

Commit 88e9bf7

Browse files
committed
Transform non-supported types
1 parent 3c6840d commit 88e9bf7

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ Want to contribute? Great!
3131
### Todos
3232

3333
- indexes
34+
- timestamps
35+
- softDeletes
36+
- uncommon types
3437

3538
License
3639
----

export-laravel-5-migrations.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,14 +279,14 @@ def __init__(self, sql_text):
279279
'VARCHAR':'string', \
280280
'BINARY':'binary', \
281281
'VARBINARY':'', \
282-
'TINYTEXT':'', \
282+
'TINYTEXT':'text', \
283283
'TEXT':'text', \
284284
'MEDIUMTEXT':'mediumText', \
285285
'LONGTEXT':'longText', \
286-
'TINYBLOB':'', \
286+
'TINYBLOB':'binary', \
287287
'BLOB':'binary', \
288-
'MEDIUMBLOB':'', \
289-
'LONGBLOB':'', \
288+
'MEDIUMBLOB':'binary', \
289+
'LONGBLOB':'binary', \
290290
'DATETIME':'dateTime', \
291291
'DATETIME_F':'dateTime', \
292292
'DATE':'date', \

0 commit comments

Comments
 (0)