This website works better with JavaScript.
Explore
Help
Sign In
david
/
Go-BackEnd
Watch
1
Star
0
Fork
You've already forked Go-BackEnd
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4
Commits
3
Branches
0
Tags
236 MiB
Go
100%
Tree:
b75270a5aa
news
user
widia
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'b75270a5aa'
${ noResults }
Go-BackEnd
/
initializers
/
syncDatabase.go
7 lines
103 B
Raw
Blame
History
package
initializers
import
"go-crud/models"
func
SyncDatabase
(
)
{
DB
.
AutoMigrate
(
&
models
.
User
{
}
)
}
Reference in new issue
Copy Permalink