get database migrations up and running
This commit is contained in:
		
							
								
								
									
										34
									
								
								book/book.go
									
									
									
									
									
								
							
							
						
						
									
										34
									
								
								book/book.go
									
									
									
									
									
								
							@@ -1,21 +1,21 @@
 | 
			
		||||
package book
 | 
			
		||||
 | 
			
		||||
type Book struct {
 | 
			
		||||
	ID          int
 | 
			
		||||
	Title       string
 | 
			
		||||
	Authors     []string
 | 
			
		||||
	SortAuthor  string
 | 
			
		||||
	ISBN10      string
 | 
			
		||||
	ISBN13      string
 | 
			
		||||
	Format      string
 | 
			
		||||
	Genre       string
 | 
			
		||||
	Publisher   string
 | 
			
		||||
	Series      string
 | 
			
		||||
	Volume      string
 | 
			
		||||
	Year        string
 | 
			
		||||
	Signed      bool
 | 
			
		||||
	Description string
 | 
			
		||||
	Notes       string
 | 
			
		||||
	OnLoan      string
 | 
			
		||||
	CoverURL    string
 | 
			
		||||
	ID          int      `json:"-"`
 | 
			
		||||
	Title       string   `json:"title"`
 | 
			
		||||
	Authors     []string `json:"authors"`
 | 
			
		||||
	SortAuthor  string   `json:"sortAuthor"`
 | 
			
		||||
	ISBN10      string   `json:"isbn-10"`
 | 
			
		||||
	ISBN13      string   `json:"isbn-13"`
 | 
			
		||||
	Format      string   `json:"format"`
 | 
			
		||||
	Genre       string   `json:"genre"`
 | 
			
		||||
	Publisher   string   `json:"publisher"`
 | 
			
		||||
	Series      string   `json:"series"`
 | 
			
		||||
	Volume      string   `json:"volume"`
 | 
			
		||||
	Year        string   `json:"year"`
 | 
			
		||||
	Signed      bool     `json:"signed"`
 | 
			
		||||
	Description string   `json:"description"`
 | 
			
		||||
	Notes       string   `json:"notes"`
 | 
			
		||||
	OnLoan      string   `json:"onLoan"`
 | 
			
		||||
	CoverURL    string   `json:"coverURL"`
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user