Created
May 13, 2024 19:04
-
-
Save PaulieScanlon/1278421844461c170884439218c32e4a to your computer and use it in GitHub Desktop.
Schema for analytics table
This file contains 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 analytics ( | |
id SERIAL PRIMARY KEY, | |
date TIMESTAMP WITH TIME ZONE NOT NULL, | |
slug VARCHAR NOT NULL, | |
referrer VARCHAR, | |
flag VARCHAR, | |
country VARCHAR, | |
city VARCHAR, | |
latitude DECIMAL, | |
longitude DECIMAL | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment