Skip to content

Commit

Permalink
feat: [#549] add a table comment compiler (#6)
Browse files Browse the repository at this point in the history
* feat: [#549] add a table comment compiler

* update go.mod
  • Loading branch information
almas1992 authored Feb 10, 2025
1 parent a5c49bf commit 7a05cbb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.23.4

require (
github.com/glebarez/sqlite v1.11.0
github.com/goravel/framework v1.15.2-0.20250209050736-c63da33a6ac2
github.com/goravel/framework v1.15.2-0.20250210073917-7edffd9b4390
github.com/spf13/cast v1.7.1
github.com/stretchr/testify v1.10.0
gorm.io/gorm v1.25.12
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ github.com/goravel/framework v1.15.2-0.20250207105840-b8242bc2a853 h1:YXeM98oAlu
github.com/goravel/framework v1.15.2-0.20250207105840-b8242bc2a853/go.mod h1:5Il8ODw11sGkktLaEi1cKHIoI9P//wdcLSGjHGUsK58=
github.com/goravel/framework v1.15.2-0.20250209050736-c63da33a6ac2 h1:BSmCZmyQtJ7jFeVCcexQiSBC9o/tyhDNZsuO23e2pz8=
github.com/goravel/framework v1.15.2-0.20250209050736-c63da33a6ac2/go.mod h1:msPmnGdCt7226/Mw48qh/0iExOT/r6rlpzUhIzfTAfA=
github.com/goravel/framework v1.15.2-0.20250210073917-7edffd9b4390 h1:B73mifdcXKESRC+JVx6xFavNCs1CN0S9VmlYYRDxsII=
github.com/goravel/framework v1.15.2-0.20250210073917-7edffd9b4390/go.mod h1:msPmnGdCt7226/Mw48qh/0iExOT/r6rlpzUhIzfTAfA=
github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E=
github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc=
github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ=
Expand Down
4 changes: 4 additions & 0 deletions grammar.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ func (r *Grammar) CompileTables(database string) string {
return "select name from sqlite_master where type = 'table' and name not like 'sqlite_%' order by name"
}

func (r *Grammar) CompileTableComment(_ contractsschema.Blueprint, _ *contractsschema.Command) string {
return ""
}

func (r *Grammar) CompileTypes() string {
return ""
}
Expand Down

0 comments on commit 7a05cbb

Please sign in to comment.