Last active
January 28, 2019 14:14
-
-
Save winni4eva/d8474a8c048cd17bb07d429f69c0417f to your computer and use it in GitHub Desktop.
Marvel heroes seed mysql seed
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
INSERT INTO marvel_universe (group_name, members) | |
VALUES( | |
'avengers', | |
JSON_ARRAY( | |
JSON_OBJECT("name","tony stark", "capabilities", JSON_ARRAY("body armour","laser","levitation")), | |
JSON_OBJECT("name", "hulk", "capabilities", JSON_ARRAY("expand","smash")) | |
) | |
), | |
( | |
'fantastic four', | |
JSON_OBJECT("name", "mister fantastic", "capabilities", JSON_ARRAY("elongate","elastic")) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment