Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 36656492694b557e5682812ed4c8e6fb800a91a3 1 parent 412a691
Kazuaki Takemoto authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 sqlite3-to-mysql
4 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"
Please sign in to comment.
Something went wrong with that request. Please try again.