Created
June 17, 2018 18:30
-
-
Save arvind-subramanian/03b63f90a4d904893c95ae3a19f4089c to your computer and use it in GitHub Desktop.
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 resource ( | |
id serial PRIMARY key, | |
resource_content VARCHAR NOT NULL, | |
resource_pattern VARCHAR NOT NULL, | |
resource_link VARCHAR NOT NULL, | |
resource_hash VARCHAR NOT NULL, | |
pattern_hash VARCHAR NOT NULL, | |
transaction_hash VARCHAR, | |
event_type VARCHAR, | |
ipfs_hash VARCHAR, | |
last_modified TIMESTAMP, | |
user_address serial REFERENCES Userinfo(userid), | |
resource_summary VARCHAR | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment