   (sql/execute! db/spec
                 ["CREATE TABLE IF NOT EXISTS tags (
                    id INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
-                   name VARCHAR(256)
+                   name VARCHAR(256),
+                   restricted BOOLEAN NOT NULL DEFAULT 0
                  )"]))
 
 (defn post-tag-migration []

    (post-tag-migration)
    (println "Successfully created DB entries.")))

(defn down [table-name]
  (sql/execute! db/spec
                [(str "DROP TABLE IF EXISTS " table-name)]))

                   created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
                   slug VARCHAR(256) NOT NULL,
                   active BOOLEAN NOT NULL DEFAULT 1,
                   restricted BOOLEAN NOT NULL DEFAULT 0,
                   FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE
                 )"]))

