Skip to content

Instantly share code, notes, and snippets.

@udacityandroid
Created December 23, 2015 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save udacityandroid/7e8d1d5aaaeec7310042 to your computer and use it in GitHub Desktop.
Save udacityandroid/7e8d1d5aaaeec7310042 to your computer and use it in GitHub Desktop.
Firebase - Lesson 4 - Many to Many : Current Data Schema
{
"users" : {
"americanguyw1521@gmail,com" : {
"email" : "americanguyw1521@gmail,com",
"hasLoggedInWithPassword" : true,
"name" : "Walter Latimer",
"timestampJoined" : {
"timestamp" : 1447801255394
}
},
"lylafish@gmail,com" : {
"email" : "lylafish@gmail,com",
"hasLoggedInWithPassword" : true,
"name" : "Lyla Fujiwara",
"timestampJoined" : {
"timestamp" : 1447801490493
}
}
},
"activeLists" : {
"-K3MgmAyvZTXmly5fA3H" : {
"listName" : "Walter's Birthday Wishlist",
"owner" : "americanguyw1521@gmail,com",
"timestampCreated" : {
"timestamp" : 1447801594776
},
"timestampLastChanged" : {
"timestamp" : 1447802050799
}
},
"-K3MhMmVazivYtUJdnLk" : {
"listName" : "Wilderness Survival List",
"owner" : "americanguyw1521@gmail,com",
"timestampCreated" : {
"timestamp" : 1447801748771
},
"timestampLastChanged" : {
"timestamp" : 1447801782127
},
"usersShopping" : {
"lylafish@gmail,com" : {
"email" : "lylafish@gmail,com",
"hasLoggedInWithPassword" : false,
"name" : "Lyla Fujiwara",
"timestampJoined" : {
"timestamp" : 1449102568617
}
},
"americanguyw1521@gmail,com" : {
"email" : "americanguyw1521@gmail,com",
"hasLoggedInWithPassword" : true,
"name" : "Walter Latimer",
"timestampJoined" : {
"timestamp" : 1447801255394
}
}
},
"sharedWith" : {
"lylafish@gmail,com" : {
"email" : "lylafish@gmail,com",
"name" : "Lyla Fujiwara"
}
}
},
"-K3Mi3BskuNqBVWEwgqL" : {
"listName" : "Thursday Chicken Dinner",
"owner" : "lylafish@gmail,com",
"timestampCreated" : {
"timestamp" : 1447801930683
},
"timestampLastChanged" : {
"timestamp" : 1447801949049
}
}
},
"shoppingListItems" : {
"-K3Mi3BskuNqBVWEwgqL" : {
"-K3Mi4VLp3vtGyiZRXag" : {
"bought" : false,
"itemName" : "flour",
"owner" : "lylafish@gmail,com"
},
"-K3Mi57SJKlih2DgcYC0" : {
"bought" : false,
"itemName" : "eggs",
"owner" : "lylafish@gmail,com"
},
"-K3Mi7gURQGAOHRWkebW" : {
"bought" : false,
"itemName" : "chicken",
"owner" : "lylafish@gmail,com"
}
},
"-K3MhMmVazivYtUJdnLk" : {
"-K3MhPQ8LZbkC7Q48hQo" : {
"bought" : false,
"itemName" : "dried meats",
"owner" : "americanguyw1521@gmail,com"
},
"-K3MhRm3vwG2Yn8ZQiae" : {
"bought" : false,
"itemName" : "freeze dried beans",
"owner" : "americanguyw1521@gmail,com"
}
},
"-K3MgmAyvZTXmly5fA3H" : {
"-K3MhgkrWgTIqKP5n4PG" : {
"bought" : false,
"itemName" : "pinata",
"owner" : "americanguyw1521@gmail,com"
}
}
},
"userFriends" : {
"americanguyw1521@gmail,com" : {
"lylafish@gmail,com" : {
"email" : "lylafish@gmail,com",
"hasLoggedInWithPassword" : true,
"name" : "Lyla Fujiwara",
"timestampJoined" : {
"timestamp" : 1447801490493
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment