# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
#   movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
#   Character.create(name: 'Luke', movie: movies.first)

User.create(email: "kirsten@gmail.com", sub: "12345")
User.create(email: "hayley@gmail.com", sub: "123456")
User.create(email: "claudia@gmail.com", sub: "123457")
User.create(email: "greg@gmail.com", sub: "123458")
User.create(email: "jennelle@gmail.com", sub: "123459")
User.create(email: "drew@gmail.com", sub: "123450")
User.create(email: "andrea@gmail.com", sub: "123451")
User.create(email: "susan@gmail.com", sub: "123452")
User.create(email: "kevin@gmail.com", sub: "123453")

Post.create(title: "this is a post", content: "testing post functionality", user_id: 1)

# Comment.create(comment: "commenting on a post", user_id: 2, post_id: 1)

Friendship.create(user_id: 1, friend_id: 2)
Friendship.create(user_id: 1, friend_id: 12)
Friendship.create(user_id: 1, friend_id: 4)
Friendship.create(user_id: 1, friend_id: 5)
Friendship.create(user_id: 12, friend_id: 5)
