mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
adding foreignIndex conf opt (#2239)
This commit is contained in:
parent
631d7e84dc
commit
c5aa05362a
1 changed files with 2 additions and 0 deletions
|
|
@ -1701,6 +1701,7 @@ type SchemaOptions struct {
|
|||
TimeUnit string `json:"timeUnit"`
|
||||
Base int64 `json:"base"`
|
||||
Epoch time.Time `json:"epoch"`
|
||||
ForeignIndex string `json:"foreignIndex"`
|
||||
}
|
||||
|
||||
func (so SchemaOptions) asIndexOptions() *IndexOptions {
|
||||
|
|
@ -1727,6 +1728,7 @@ func (so SchemaOptions) asFieldOptions() *FieldOptions {
|
|||
timeUnit: so.TimeUnit,
|
||||
base: so.Base,
|
||||
epoch: so.Epoch,
|
||||
foreignIndex: so.ForeignIndex,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue