Created
February 10, 2015 14:27
-
-
Save chbatey/31cd5b1e3406d1d2a2cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE if NOT EXISTS customer_events ( | |
| customer_id text, | |
| statff_id text, | |
| store_type text, | |
| time timeuuid , | |
| event_type text, | |
| PRIMARY KEY (customer_id, time)) | |
| CREATE TABLE if NOT EXISTS customer_events_by_staff ( | |
| customer_id text, | |
| statff_id text, | |
| store_type text, | |
| time timeuuid , | |
| event_type text, | |
| PRIMARY KEY (staff_id, time)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment