Include mysql column comments into generated types
This commit is contained in:
parent
fa69565dbf
commit
7b36f31cad
6 changed files with 33 additions and 11 deletions
|
|
@ -161,7 +161,7 @@ var Actor = newActorTable("", "actor", "")
|
|||
type actorTable struct {
|
||||
sqlite.Table
|
||||
|
||||
//Columns
|
||||
// Columns
|
||||
ActorID sqlite.ColumnInteger
|
||||
FirstName sqlite.ColumnString
|
||||
LastName sqlite.ColumnString
|
||||
|
|
@ -280,7 +280,7 @@ var FilmList = newFilmListTable("", "film_list", "")
|
|||
type filmListTable struct {
|
||||
sqlite.Table
|
||||
|
||||
//Columns
|
||||
// Columns
|
||||
Fid sqlite.ColumnInteger
|
||||
Title sqlite.ColumnString
|
||||
Description sqlite.ColumnString
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue