add .gitignore
change cmd column of the database to UNIQUE PRIMARY KEY