Skip to content

Instantly share code, notes, and snippets.

@sakti
Last active March 29, 2016 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sakti/ec19b933e7dc99bd994c to your computer and use it in GitHub Desktop.
Save sakti/ec19b933e7dc99bd994c to your computer and use it in GitHub Desktop.
`gorm:"<annotation>;<annotation>"`
size:255
AUTO_INCREMENT
- // ignore this field
many2many:user_languages;
index
unique_index
type:varchar(100)
not null
unique
index:idx_name
primary_key // primary key
column:column_name
AssociationForeignKey:Refer
ForeignKey:ProfileReferID
default:'galeone'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment