Permalink
Browse files

silly little timestamp maker function useful for recording schema cha…

…nges
  • Loading branch information...
1 parent 5ceafb1 commit 0b7c77ebf54b54e5820863b77096ed7d9ce5d1c8 @nicferrier committed Oct 29, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 db.el
View
5 db.el
@@ -253,6 +253,11 @@ VALUE being the returned value from the `:source' database."
(puthash 'db-filter 'db-filter db--types)
+(defun db-change-timestamp ()
+ "Place a timestamp in the kill-ring for a db change log."
+ (interactive)
+ (kill-new (format-time-string "\"%Y%M%d%H%M%S%N\""(current-time))))
+
(provide 'db)
;;; db.el ends here

0 comments on commit 0b7c77e

Please sign in to comment.