Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. var Vacation = require('./vacation');
  2.  
  3. Vacation.find(function (err, vacations) {
  4. if (vacations.length) return;
  5.  
  6. new Vacation({
  7. name: 'Hood River Day Trip',
  8. slug: 'hood-river-day-trip',
  9. category: 'Day Trip',
  10. sku: 'HR199',
  11. description: 'Spend a day sailing on the Columbia and ' +
  12. 'enjoying craft beers in Hood River!',
  13. priceInCents: 9995,
  14. tags: ['day trip', 'hood river', 'sailing', 'windsurfing', 'breweries'],
  15. inSeason: true,
  16. maximumGuests: 16,
  17. available: true,
  18. packagesSold: 0,
  19. }).save();
  20.  
  21. new Vacation({
  22. name: 'Oregon Coast Getaway',
  23. slug: 'oregon-coast-getaway',
  24. category: 'Weekend Getaway',
  25. sku: 'OC39',
  26. description: 'Enjoy the ocean air and quaint coastal towns!',
  27. priceInCents: 269995,
  28. tags: ['weekend getaway', 'oregon coast', 'beachcombing'],
  29. inSeason: false,
  30. maximumGuests: 8,
  31. available: true,
  32. packagesSold: 0,
  33. }).save();
  34.  
  35. new Vacation({
  36. name: 'Rock Climbing in Bend',
  37. slug: 'rock-climbing-in-bend',
  38. category: 'Adventure',
  39. sku: 'B99',
  40. description: 'Experience the thrill of climbing in the high desert.',
  41. priceInCents: 289995,
  42. tags: ['weekend getaway', 'bend', 'high desert', 'rock climbing'],
  43. inSeason: true,
  44. requiresWavier: true,
  45. maximumGuests: 4,
  46. available: false,
  47. packagesSold: 0,
  48. notes: 'The tour guide is currently recovering from a skiing accident.',
  49. }).save();
  50. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement