Flush local database
cd ./go/
make mysql.flush
- this command down mysql database and flush it
┌───────┐
│ Event │ ┌────────────────────┐
└───────┘ ┌───│ OrganizationMember │
│ │ └────────────────────┘
│ │ │
┌──────────────┐ ┌──────┐ │
│ Notification │────────│ User │ ┌──────────────┐┌─────────────────────┐
└──────────────┘ └──────┘ │ Organization ││ ChallengeValidation │
┌────────────────┐ │ └──────────────┘└─────────────────────┘
│ InventoryItems │───┐ │ │ │
└────────────────┘ │ │ │ │
┌────────────────┐ ┌────────────┐ ┌──────┐ ┌───────────────────────┐
│ WhoswhoAttempt │───│ TeamMember │────│ Team │───│ ChallengeSubscription │
└────────────────┘ └────────────┘ └──────┘ └───────────────────────┘
┌─────────────┐ │ │ │ │
│ Achievement │──────┘ │ │ │
└─────────────┘ ┌──────────────────┐┌─────────┐ ┌─────────────────┐
│ CouponValidation ││ Season │────│ SeasonChallenge │
└──────────────────┘└─────────┘ └─────────────────┘
│ ┌────────┐ │ │ │
└──│ Coupon │──┘ ┌──┘ │
└────────┘ │ │
┌─────────────┐ ┌─────────────────┐ │
│ Challenge │──│ ChallengeFlavor │ │
└─────────────┘ └─────────────────┘ │
┌────────────┐ ┌───────────────────┐
│ Hypervisor │─────│ ChallengeInstance │
└────────────┘ └───────────────────┘