{"action":"created","comment":{"url":"https://api.github.com/repos/outr/scalarelational/pulls/comments/34186367","id":34186367,"diff_hunk":"@@ -158,7 +200,36 @@ object ModularDatastore extends H2Datastore {\n   object users extends Table(\"users\") with ModularSupport {\n     val name = column[String](\"name\", Unique)\n     val age = column[Int](\"age\")\n+    val created = column[Option[Timestamp]](\"created\")\n     val modified = column[Option[Timestamp]](\"modified\")\n     val id = column[Int](\"id\", PrimaryKey, AutoIncrement)\n   }\n-}\n\\ No newline at end of file\n+\n+  // If multiple classes should be equipped with `created` and `modified` fields,\n+  // then this mixin can be used.\n+  trait Timestamps extends ModularSupport {\n+    // TODO How can we get rid of this method?\n+    def column[T](name : String, properties : ColumnProperty*)\n+                 (implicit converter : DataType[T], manifest : Manifest[T]): ColumnLike[T]\n+\n+    val created  = column[Timestamp](\"created\")","path":"h2/src/test/scala/org/scalarelational/h2/modular/ModularSpec.scala","position":125,"original_position":125,"commit_id":"17404d4a662792c0adaf45251e1f67fa4067df3b","original_commit_id":"17404d4a662792c0adaf45251e1f67fa4067df3b","user":{"login":"tindzk","id":196819,"avatar_url":"https://avatars.githubusercontent.com/u/196819?v=3","gravatar_id":"","url":"https://api.github.com/users/tindzk","html_url":"https://github.com/tindzk","followers_url":"https://api.github.com/users/tindzk/followers","following_url":"https://api.github.com/users/tindzk/following{/other_user}","gists_url":"https://api.github.com/users/tindzk/gists{/gist_id}","starred_url":"https://api.github.com/users/tindzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tindzk/subscriptions","organizations_url":"https://api.github.com/users/tindzk/orgs","repos_url":"https://api.github.com/users/tindzk/repos","events_url":"https://api.github.com/users/tindzk/events{/privacy}","received_events_url":"https://api.github.com/users/tindzk/received_events","type":"User","site_admin":false},"body":"Necessary for what?","created_at":"2015-07-08T19:08:27Z","updated_at":"2015-07-08T19:08:27Z","html_url":"https://github.com/outr/scalarelational/pull/25#discussion_r34186367","pull_request_url":"https://api.github.com/repos/outr/scalarelational/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/comments/34186367"},"html":{"href":"https://github.com/outr/scalarelational/pull/25#discussion_r34186367"},"pull_request":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/outr/scalarelational/pulls/25","id":39472138,"html_url":"https://github.com/outr/scalarelational/pull/25","diff_url":"https://github.com/outr/scalarelational/pull/25.diff","patch_url":"https://github.com/outr/scalarelational/pull/25.patch","issue_url":"https://api.github.com/repos/outr/scalarelational/issues/25","number":25,"state":"open","locked":false,"title":"Update: Implement add()","user":{"login":"tindzk","id":196819,"avatar_url":"https://avatars.githubusercontent.com/u/196819?v=3","gravatar_id":"","url":"https://api.github.com/users/tindzk","html_url":"https://github.com/tindzk","followers_url":"https://api.github.com/users/tindzk/followers","following_url":"https://api.github.com/users/tindzk/following{/other_user}","gists_url":"https://api.github.com/users/tindzk/gists{/gist_id}","starred_url":"https://api.github.com/users/tindzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tindzk/subscriptions","organizations_url":"https://api.github.com/users/tindzk/orgs","repos_url":"https://api.github.com/users/tindzk/repos","events_url":"https://api.github.com/users/tindzk/events{/privacy}","received_events_url":"https://api.github.com/users/tindzk/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-08T12:39:26Z","updated_at":"2015-07-08T19:08:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c34a725a722cad2139c6aaf47fe327c8c451c60d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/outr/scalarelational/pulls/25/commits","review_comments_url":"https://api.github.com/repos/outr/scalarelational/pulls/25/comments","review_comment_url":"https://api.github.com/repos/outr/scalarelational/pulls/comments{/number}","comments_url":"https://api.github.com/repos/outr/scalarelational/issues/25/comments","statuses_url":"https://api.github.com/repos/outr/scalarelational/statuses/17404d4a662792c0adaf45251e1f67fa4067df3b","head":{"label":"tindzk:modularspec","ref":"modularspec","sha":"17404d4a662792c0adaf45251e1f67fa4067df3b","user":{"login":"tindzk","id":196819,"avatar_url":"https://avatars.githubusercontent.com/u/196819?v=3","gravatar_id":"","url":"https://api.github.com/users/tindzk","html_url":"https://github.com/tindzk","followers_url":"https://api.github.com/users/tindzk/followers","following_url":"https://api.github.com/users/tindzk/following{/other_user}","gists_url":"https://api.github.com/users/tindzk/gists{/gist_id}","starred_url":"https://api.github.com/users/tindzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tindzk/subscriptions","organizations_url":"https://api.github.com/users/tindzk/orgs","repos_url":"https://api.github.com/users/tindzk/repos","events_url":"https://api.github.com/users/tindzk/events{/privacy}","received_events_url":"https://api.github.com/users/tindzk/received_events","type":"User","site_admin":false},"repo":{"id":38432989,"name":"scalarelational","full_name":"tindzk/scalarelational","owner":{"login":"tindzk","id":196819,"avatar_url":"https://avatars.githubusercontent.com/u/196819?v=3","gravatar_id":"","url":"https://api.github.com/users/tindzk","html_url":"https://github.com/tindzk","followers_url":"https://api.github.com/users/tindzk/followers","following_url":"https://api.github.com/users/tindzk/following{/other_user}","gists_url":"https://api.github.com/users/tindzk/gists{/gist_id}","starred_url":"https://api.github.com/users/tindzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tindzk/subscriptions","organizations_url":"https://api.github.com/users/tindzk/orgs","repos_url":"https://api.github.com/users/tindzk/repos","events_url":"https://api.github.com/users/tindzk/events{/privacy}","received_events_url":"https://api.github.com/users/tindzk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tindzk/scalarelational","description":"Type-Safe framework for defining, modifying, and querying SQL databases","fork":true,"url":"https://api.github.com/repos/tindzk/scalarelational","forks_url":"https://api.github.com/repos/tindzk/scalarelational/forks","keys_url":"https://api.github.com/repos/tindzk/scalarelational/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tindzk/scalarelational/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tindzk/scalarelational/teams","hooks_url":"https://api.github.com/repos/tindzk/scalarelational/hooks","issue_events_url":"https://api.github.com/repos/tindzk/scalarelational/issues/events{/number}","events_url":"https://api.github.com/repos/tindzk/scalarelational/events","assignees_url":"https://api.github.com/repos/tindzk/scalarelational/assignees{/user}","branches_url":"https://api.github.com/repos/tindzk/scalarelational/branches{/branch}","tags_url":"https://api.github.com/repos/tindzk/scalarelational/tags","blobs_url":"https://api.github.com/repos/tindzk/scalarelational/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tindzk/scalarelational/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tindzk/scalarelational/git/refs{/sha}","trees_url":"https://api.github.com/repos/tindzk/scalarelational/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tindzk/scalarelational/statuses/{sha}","languages_url":"https://api.github.com/repos/tindzk/scalarelational/languages","stargazers_url":"https://api.github.com/repos/tindzk/scalarelational/stargazers","contributors_url":"https://api.github.com/repos/tindzk/scalarelational/contributors","subscribers_url":"https://api.github.com/repos/tindzk/scalarelational/subscribers","subscription_url":"https://api.github.com/repos/tindzk/scalarelational/subscription","commits_url":"https://api.github.com/repos/tindzk/scalarelational/commits{/sha}","git_commits_url":"https://api.github.com/repos/tindzk/scalarelational/git/commits{/sha}","comments_url":"https://api.github.com/repos/tindzk/scalarelational/comments{/number}","issue_comment_url":"https://api.github.com/repos/tindzk/scalarelational/issues/comments{/number}","contents_url":"https://api.github.com/repos/tindzk/scalarelational/contents/{+path}","compare_url":"https://api.github.com/repos/tindzk/scalarelational/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tindzk/scalarelational/merges","archive_url":"https://api.github.com/repos/tindzk/scalarelational/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tindzk/scalarelational/downloads","issues_url":"https://api.github.com/repos/tindzk/scalarelational/issues{/number}","pulls_url":"https://api.github.com/repos/tindzk/scalarelational/pulls{/number}","milestones_url":"https://api.github.com/repos/tindzk/scalarelational/milestones{/number}","notifications_url":"https://api.github.com/repos/tindzk/scalarelational/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tindzk/scalarelational/labels{/name}","releases_url":"https://api.github.com/repos/tindzk/scalarelational/releases{/id}","created_at":"2015-07-02T13:01:38Z","updated_at":"2015-07-02T13:01:38Z","pushed_at":"2015-07-08T19:01:05Z","git_url":"git://github.com/tindzk/scalarelational.git","ssh_url":"git@github.com:tindzk/scalarelational.git","clone_url":"https://github.com/tindzk/scalarelational.git","svn_url":"https://github.com/tindzk/scalarelational","homepage":null,"size":514,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"outr:master","ref":"master","sha":"6a93b53461e88f09c0e8b021426f27760574143a","user":{"login":"outr","id":5854353,"avatar_url":"https://avatars.githubusercontent.com/u/5854353?v=3","gravatar_id":"","url":"https://api.github.com/users/outr","html_url":"https://github.com/outr","followers_url":"https://api.github.com/users/outr/followers","following_url":"https://api.github.com/users/outr/following{/other_user}","gists_url":"https://api.github.com/users/outr/gists{/gist_id}","starred_url":"https://api.github.com/users/outr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outr/subscriptions","organizations_url":"https://api.github.com/users/outr/orgs","repos_url":"https://api.github.com/users/outr/repos","events_url":"https://api.github.com/users/outr/events{/privacy}","received_events_url":"https://api.github.com/users/outr/received_events","type":"Organization","site_admin":false},"repo":{"id":14048773,"name":"scalarelational","full_name":"outr/scalarelational","owner":{"login":"outr","id":5854353,"avatar_url":"https://avatars.githubusercontent.com/u/5854353?v=3","gravatar_id":"","url":"https://api.github.com/users/outr","html_url":"https://github.com/outr","followers_url":"https://api.github.com/users/outr/followers","following_url":"https://api.github.com/users/outr/following{/other_user}","gists_url":"https://api.github.com/users/outr/gists{/gist_id}","starred_url":"https://api.github.com/users/outr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outr/subscriptions","organizations_url":"https://api.github.com/users/outr/orgs","repos_url":"https://api.github.com/users/outr/repos","events_url":"https://api.github.com/users/outr/events{/privacy}","received_events_url":"https://api.github.com/users/outr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/outr/scalarelational","description":"Type-Safe framework for defining, modifying, and querying SQL databases","fork":false,"url":"https://api.github.com/repos/outr/scalarelational","forks_url":"https://api.github.com/repos/outr/scalarelational/forks","keys_url":"https://api.github.com/repos/outr/scalarelational/keys{/key_id}","collaborators_url":"https://api.github.com/repos/outr/scalarelational/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/outr/scalarelational/teams","hooks_url":"https://api.github.com/repos/outr/scalarelational/hooks","issue_events_url":"https://api.github.com/repos/outr/scalarelational/issues/events{/number}","events_url":"https://api.github.com/repos/outr/scalarelational/events","assignees_url":"https://api.github.com/repos/outr/scalarelational/assignees{/user}","branches_url":"https://api.github.com/repos/outr/scalarelational/branches{/branch}","tags_url":"https://api.github.com/repos/outr/scalarelational/tags","blobs_url":"https://api.github.com/repos/outr/scalarelational/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/outr/scalarelational/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/outr/scalarelational/git/refs{/sha}","trees_url":"https://api.github.com/repos/outr/scalarelational/git/trees{/sha}","statuses_url":"https://api.github.com/repos/outr/scalarelational/statuses/{sha}","languages_url":"https://api.github.com/repos/outr/scalarelational/languages","stargazers_url":"https://api.github.com/repos/outr/scalarelational/stargazers","contributors_url":"https://api.github.com/repos/outr/scalarelational/contributors","subscribers_url":"https://api.github.com/repos/outr/scalarelational/subscribers","subscription_url":"https://api.github.com/repos/outr/scalarelational/subscription","commits_url":"https://api.github.com/repos/outr/scalarelational/commits{/sha}","git_commits_url":"https://api.github.com/repos/outr/scalarelational/git/commits{/sha}","comments_url":"https://api.github.com/repos/outr/scalarelational/comments{/number}","issue_comment_url":"https://api.github.com/repos/outr/scalarelational/issues/comments{/number}","contents_url":"https://api.github.com/repos/outr/scalarelational/contents/{+path}","compare_url":"https://api.github.com/repos/outr/scalarelational/compare/{base}...{head}","merges_url":"https://api.github.com/repos/outr/scalarelational/merges","archive_url":"https://api.github.com/repos/outr/scalarelational/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/outr/scalarelational/downloads","issues_url":"https://api.github.com/repos/outr/scalarelational/issues{/number}","pulls_url":"https://api.github.com/repos/outr/scalarelational/pulls{/number}","milestones_url":"https://api.github.com/repos/outr/scalarelational/milestones{/number}","notifications_url":"https://api.github.com/repos/outr/scalarelational/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/outr/scalarelational/labels{/name}","releases_url":"https://api.github.com/repos/outr/scalarelational/releases{/id}","created_at":"2013-11-01T17:14:15Z","updated_at":"2015-07-07T15:23:18Z","pushed_at":"2015-07-08T19:01:05Z","git_url":"git://github.com/outr/scalarelational.git","ssh_url":"git@github.com:outr/scalarelational.git","clone_url":"https://github.com/outr/scalarelational.git","svn_url":"https://github.com/outr/scalarelational","homepage":null,"size":1023,"stargazers_count":8,"watchers_count":8,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":13,"forks":6,"open_issues":13,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/25"},"html":{"href":"https://github.com/outr/scalarelational/pull/25"},"issue":{"href":"https://api.github.com/repos/outr/scalarelational/issues/25"},"comments":{"href":"https://api.github.com/repos/outr/scalarelational/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/outr/scalarelational/statuses/17404d4a662792c0adaf45251e1f67fa4067df3b"}}}}