Skip to content

Instantly share code, notes, and snippets.

@charmygarg
Last active September 24, 2017 10:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
import com.outworkers.phantom.dsl._
abstract class Users extends Table[Users, User] {
object id extends StringColumn with PartitionKey
object email extends SetColumn[String]
object name extends StringColumn with PartitionKey
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment