getCustomizedFields returns all the customized fields definitions of the table
(table string)
| 148 | |
| 149 | // getCustomizedFields returns all the customized fields definitions of the table |
| 150 | func (s *Service) getCustomizedFields(table string) ([]customizeModels.CustomizedField, errors.Error) { |
| 151 | var result []customizeModels.CustomizedField |
| 152 | err := s.dal.All(&result, dal.Where("tb_name = ?", table)) |
| 153 | return result, err |
| 154 | } |
| 155 | |
| 156 | // ImportIssue import csv file to the table `issues`, and create relations to boards |
| 157 | // issue could exist in multiple boards, so we should only delete an old records when it doesn't belong to another board |