Skip to content

Commit 21a2f0a

Browse files
authored
Update export-laravel-5-migrations.py
Syntax Error fix.
1 parent a22ba8c commit 21a2f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

export-laravel-5-migrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def export_schema(out, schema, is_main_schema):
115115
col_data = '\', %s' % (str(col.length))
116116

117117
if col.name == 'remember_token' and typesDict[col_type] == 'string' and str(col.length) = 100:
118-
migrations[tbl.name].append(' $table->rememberToken();\n'
118+
migrations[tbl.name].append(' $table->rememberToken();\n')
119119
elif(typesDict[col_type]) :
120120
migrations[tbl.name].append(' $table->%s(\'%s%s)' % (typesDict[col_type], col.name, col_data))
121121
if typesDict[col_type] == 'integer' and 'UNSIGNED' in col.flags:

0 commit comments

Comments
 (0)