Skip to content

Commit

Permalink
Fixed readme. Clean up whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sargeant committed Aug 20, 2014
1 parent 5c5706c commit 9874922
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
14 changes: 1 addition & 13 deletions README.md
Expand Up @@ -522,7 +522,7 @@ TEMPORARY TABLE
(drop-index :uname)
(drop-primary-key)
(drop-foreign-key :fk1)))
; "CREATE TABLE users (userID INT UNSIGNED NOT NULL, orgID INT, groups SET('user', 'admin') DEFAULT 'user', status ENUM('active', 'inactive'), ranking DECIMAL(3, 1) DEFAULT 0, username VARCHAR(50), countryCode CHAR(2) DEFAULT 'US', PRIMARY KEY(userID), INDEX(userID, orgID), UNIQUE(username), FOREIGN KEY(orgID) REFERENCES orgs(orgID) ON DELETE CASCADE) ENGINE=InnoDB, COLLATE=utf8_general_ci"
; "ALTER TABLE users ADD COLUMN email VARCHAR(50) AFTER userID, ADD COLUMN firstName VARCHAR(25) FIRST, ADD INDEX(firstName, lastName), ADD INDEX(username, ranking), ADD FOREIGN KEY(orgID) REFERENCES orgs(orgID) ON DELETE CASCADE, CHANGE username username VARCHAR(100), ALTER COLUMN ranking DROP DEFAULT, ALTER COLUMN ranking SET DEFAULT 1, DROP COLUMN countryCode, DROP INDEX uname, DROP PRIMARY KEY, DROP FOREIGN KEY fk1"
```

ADD
Expand Down Expand Up @@ -577,15 +577,3 @@ DROP COLUMN
## Unit-tests

Run "lein spec"












4 changes: 0 additions & 4 deletions src/stch/sql/format.clj
Expand Up @@ -424,7 +424,3 @@

(defmethod format-clause :using [[_ tables] _]
(str "USING " (comma-join (map to-sql tables))))




6 changes: 0 additions & 6 deletions src/stch/sql/types.clj
Expand Up @@ -77,9 +77,3 @@

(defmethod print-dup SqlParam [o w]
(print-method o w))






0 comments on commit 9874922

Please sign in to comment.