Add 'references' to candidates of migration field
This commit is contained in:
parent
bc87980ffd
commit
5658941cad
|
@ -136,7 +136,7 @@ __rails_migration_fields() {
|
||||||
_values 'index' 'index' 'uniq'
|
_values 'index' 'index' 'uniq'
|
||||||
else
|
else
|
||||||
if compset -P '*:'; then
|
if compset -P '*:'; then
|
||||||
_values -s ':' 'type' 'string' 'text' 'integer' 'float' 'decimal' 'datetime' 'timestamp' 'time' 'date' 'binary' 'boolean'
|
_values -s ':' 'type' 'string' 'text' 'integer' 'float' 'decimal' 'datetime' 'timestamp' 'time' 'date' 'binary' 'boolean' 'references'
|
||||||
else
|
else
|
||||||
_guard '[[:alnum:]_]#' 'field'
|
_guard '[[:alnum:]_]#' 'field'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue