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.
3
Commits
3
Branches
0
Tags
236 MiB
Go
100%
Tree:
c8a675d1d0
news
user
widia
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'c8a675d1d0'
${ noResults }
Go-BackEnd
/
initializers
/
syncDatabase.go
7 lines
102 B
Raw
Blame
History
package
initializers
import
"tugas1/models"
func
SyncDatabase
(
)
{
DB
.
AutoMigrate
(
&
models
.
Post
{
}
)
}
Reference in new issue
Copy Permalink