Adding database schema version

Этот коммит содержится в:
=Corey Hulen
2015-09-16 19:59:57 -07:00
родитель 1e7f7852ad
Коммит abda39b652
7 изменённых файлов: 222 добавлений и 3 удалений

Просмотреть файл

@@ -35,6 +35,7 @@ type Store interface {
Audit() AuditStore
Session() SessionStore
OAuth() OAuthStore
System() SystemStore
Close()
}
@@ -130,3 +131,9 @@ type OAuthStore interface {
GetAccessDataByAuthCode(authCode string) StoreChannel
RemoveAccessData(token string) StoreChannel
}
type SystemStore interface {
Save(system *model.System) StoreChannel
Update(system *model.System) StoreChannel
Get() StoreChannel
}