Skip to content

Commit

Permalink
autopush@1457089489
Browse files Browse the repository at this point in the history
  • Loading branch information
denkhaus committed Mar 4, 2016
1 parent 92d345e commit da15143
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Release.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.5 (GNU/Linux)

mQGiBE8ySNwRBACKcsg4AceGW7vuOSywcGiiNZg4I8vIzn7zphgj+s6/i2/hs8TQ
TOHy1s3b0f32ani3sBRmTWtgNv8+HSaKSVUcNqqNL+Jy6Pulyao7amGTtvqVKmuz
6ADrbVz0SxWmzTlSctdxK3g3yRSb+vfYrBPrbXNCNB5g9C/uK1uh0fpj1wCgn3MX
GFlZsO3bF7SNqqYlzpV6DM0D/AjnBlxTwRJOA1sLAVSXipLOdkjo00OQ8jgOFDio
oJsqLtsscNGocPCqNRo6QSVQKNs5sfYP2GXWTnPVM5oJI1p6bjuADRE8mneJrJvF
Uc+Mt1MdS6ttF4tVqd5Ncc8LKYQJRn+AtiuxAAayAA35JOslnMM0bqSYMlw4BJTP
8TlPA/4r+k+ucz3cJtM2aaL/ngUdrhmGKfGK7npXA3Ic6FzQo2NlJyKfWjSsR8x+
oN7tKEpuYxE5fcdbWd3v+4Ypx0LYMgBT1pUgI09AXxrx1cLRZI4yovrvQJgiA4Mh
CZ0eFkJJ1nwQR3NPMj5soar+7d3Ubc2EqkESGm0CgGtjgg+7HrQ6aXN2Om93bkNs
b3VkIE9CUyBQcm9qZWN0IDxpc3Y6b3duQ2xvdWRAYnVpbGQub3BlbnN1c2Uub3Jn
PohmBBMRAgAmBQJU2MJUAhsDBQkJxSl4BgsJCAcDAgQVAggDBBYCAwECHgECF4AA
CgkQl3xDqLpoQiMpOQCggCpaq5yz8C3ckqEr0RkTjICcQYMAnRvjarxoY6iSThDN
7vgxE1Fe8X5EiEYEExECAAYFAk8ySNwACgkQOzARt2udZSPlpwCfQZKNN8Rxx0LE
BF32EYXBdEvkMYYAoIt3lfXL8uwmjvyljzb0JgBQN1cF
=FJ6Q
-----END PGP PUBLIC KEY BLOCK-----
6 changes: 6 additions & 0 deletions cypher.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
package main

const (
CYPHER_CONSTRAINT_TWEET = `CREATE CONSTRAINT ON (t:Tweet) ASSERT t.id IS UNIQUE;`
CYPHER_CONSTRAINT_USER = `CREATE CONSTRAINT ON (u:User) ASSERT u.screen_name IS UNIQUE;`
CYPHER_CONSTRAINT_HASHTAG = `CREATE CONSTRAINT ON (h:Hashtag) ASSERT h.name IS UNIQUE;`
CYPHER_CONSTRAINT_LINK = `CREATE CONSTRAINT ON (l:Link) ASSERT l.url IS UNIQUE;`
CYPHER_CONSTRAINT_SOURCE = `CREATE CONSTRAINT ON (s:Source) ASSERT s.name IS UNIQUE;`

CYPHER_TWEETS_MAX_ID = `
MATCH
(u:User {screen_name:{screen_name}})-[:POSTS]->(t:Tweet)
Expand Down

0 comments on commit da15143

Please sign in to comment.