mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-14 01:58:14 +02:00
added view collection type
This commit is contained in:
1 parent
0052e2ab2a
commit
a07f67002f
98 files changed
+3259
-829
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package models
|
||||
|
||||
import "github.com/pocketbase/pocketbase/tools/types"
|
||||
|
||||
type TableInfoRow struct {
|
||||
// the `db:"pk"` tag has special semantic so we cannot rename
|
||||
// the original field without specifying a custom mapper
|
||||
PK int
|
||||
|
||||
Index int `db:"cid"`
|
||||
Name string `db:"name"`
|
||||
Type string `db:"type"`
|
||||
NotNull bool `db:"notnull"`
|
||||
DefaultValue types.JsonRaw `db:"dflt_value"`
|
||||
}
|
||||
Reference in new issue
Block a user