Add 'references' to candidates of migration field

This commit is contained in:
Kazuya Takeshima 2014-09-17 19:51:57 +09:00
parent bc87980ffd
commit 5658941cad
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ __rails_migration_fields() {
_values 'index' 'index' 'uniq'
else
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
_guard '[[:alnum:]_]#' 'field'
fi