Files
gitlabhq/spec/models
Robert Speicher 01f6db4f64 Disallow blank (non-null) values for a Note's line_code attribute
It's unclear how these blank values got added, but GitLab.com had a few:

```
irb(main):002:0> Note.where("line_code IS NOT NULL AND line_code = ''").count
=> 439
```

We've added a migration to convert any existing records to use a NULL
value when blank, and updated Note to set blank values to nil before
validation.
2016-03-11 17:46:50 -05:00
..
2016-03-11 15:25:23 -05:00
2016-03-10 14:48:29 -05:00
2015-12-09 10:50:51 +01:00
2016-02-19 19:31:57 +01:00
2015-12-09 10:50:51 +01:00
2016-01-06 13:09:55 +00:00
2015-12-09 10:50:51 +01:00
2015-12-09 10:50:51 +01:00
2016-01-06 13:09:55 +00:00
2016-01-06 13:09:55 +00:00
2016-01-12 12:29:10 -02:00
2015-12-18 14:19:48 -06:00
2015-12-15 00:53:52 -02:00
2015-12-09 10:50:51 +01:00
2015-12-09 10:50:51 +01:00
2015-12-09 10:50:51 +01:00
2015-11-13 19:22:46 +01:00
2016-01-06 13:09:55 +00:00
2016-03-11 15:25:23 -05:00