Created
July 21, 2019 00:48
-
-
Save JustinDFuller/981eda31e3081faef58e8e4f370084e1 to your computer and use it in GitHub Desktop.
Models
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 orm from 'my_favorite_database_library' | |
export const models = { | |
user: orm.define({ | |
id: orm.PRIMARY_KEY, | |
email: orm.STRING(255) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment