Last active
September 24, 2017 10:39
-
-
Save charmygarg/cdfa2f6e4739ed5162c4094f39a4f86e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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