Created
May 18, 2012 20:47
-
-
Save jeremyruppel/2727518 to your computer and use it in GitHub Desktop.
MongoDB Seed Data
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
[{"timestamp":new Date( 2011, 0, 30 ),"identity":"john","event":"signed in"},{"timestamp":new Date( 2011, 0, 15 ),"identity":"john","event":"signed in"},{"timestamp":new Date( 2011, 0, 1 ),"identity":"john","event":"signed in"},{"timestamp":new Date( 2011, 1, 15 ),"identity":"paul","event":"signed in"},{"timestamp":new Date( 2011, 9, 15 ),"identity":"ringo","event":"signed in"},{"timestamp":new Date( 2011, 10, 15 ),"identity":"ringo","event":"signed in"},{"timestamp":new Date( 2011, 11, 15 ),"identity":"ringo","event":"signed in"}].forEach( function( event ){ db.events.insert( event ); } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment