Skip to content

Instantly share code, notes, and snippets.

@kwojcik-blockether
Created October 21, 2018 19:45
Show Gist options
  • Save kwojcik-blockether/3f64695e241a80965d3745e765af676c to your computer and use it in GitHub Desktop.
Save kwojcik-blockether/3f64695e241a80965d3745e765af676c to your computer and use it in GitHub Desktop.
@startuml
title SpotifyEurope (Karol)
/'
' ****************
' *** Entities ***
' ****************
'/
entity Playlist {
*id: Int(16)
--
bar
}
entity User {
*id: Int(16)
--
* foo
}
entity Artist {
*id: Int(16)
--
}
entity Genre {
*id: Int(16)
--
}
entity Track {
*id: Int(16)
--
}
entity Country {
*id: Int(16)
--
}
entity Album {
*id: Int(16)
--
}
entity UserHistory {
*id: Int(16)
--
}
entity Likes {
*id: Int(16)
--
createdAt: Date()
updatedAt: Date()
like: Boolean
}
entity Followers {
*id: Int(16)
--
createdAt: Date()
updatedAt: Date()
}
/'
' ****************************************************************************************
'/
/'
' *****************
' *** Relations ***
' *****************
'/
A -{ B
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment