Permalink
Browse files

all 't', 'f' to 1, 0

  • Loading branch information...
1 parent 412a691 commit 36656492694b557e5682812ed4c8e6fb800a91a3 @libkazz committed Nov 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 sqlite3-to-mysql
View
@@ -8,6 +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/"
+-e "s/'t'/1/g"
+-e "s/'f'/0/g"

0 comments on commit 3665649

Please sign in to comment.