Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

't' to 1

  • Loading branch information...
commit 412a691bbae18162f54eac5e7affceb24d12450c 1 parent e015748
@libkazz authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  sqlite3-to-mysql
View
1  sqlite3-to-mysql
@@ -8,5 +8,6 @@ sed \
-e 's/"/`/g' \
-e 's/CREATE TABLE \(`\w\+`\)/DROP TABLE IF EXISTS \1;\nCREATE TABLE \1/' \
-e 's/\(CREATE TABLE.*\)\(PRIMARY KEY\) \(AUTOINCREMENT\)\(.*\)\();\)/\1AUTO_INCREMENT\4, PRIMARY KEY(id)\5/' \
+-e "s/'t'/1/"
-e "s/'f'/0/"
Please sign in to comment.
Something went wrong with that request. Please try again.