Skip to content

Instantly share code, notes, and snippets.

@charmygarg

charmygarg/Users.scala

Last active Sep 24, 2017
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