-- Test users (fake emails)
INSERT INTO Users VALUES ('Jonas', 'duregard.jo@chalmers.se'),
       	    	  	 ('Thomas', 'hallgren.th@chalmers.se'),
			 ('Nobody', 'nobody@example.com');

INSERT INTO Posts VALUES (
    DEFAULT, 
    'Jonas', 
    CURRENT_TIMESTAMP,
    '{"link" : "https://xkcd.com/327/", "preview":true}' :: JSONB
  );

INSERT INTO Posts VALUES (
    DEFAULT, 
    'Jonas', 
    CURRENT_TIMESTAMP,
    '{"picture" : "funnycat.gif", "prop":{"size":15434}}' :: JSONB
  );


INSERT INTO Posts VALUES (
    DEFAULT, 
    'Thomas', 
    CURRENT_TIMESTAMP,
    '{"link" : "https://www.postgresqltutorial.com/postgresql-json/",
      "title": "PostgreSQL JSON tutorial"}'
  );
