Commit Graph

11 Commits

Author SHA1 Message Date
David Taylor
1b3dca04a2 Remove broken migration 2019-12-10 22:44:49 +00:00
David Taylor
3731c5bba0 Merge branch 'master' into asset_fixes 2019-12-10 22:42:14 +00:00
Matthew Smith
61a46fa1c2 Removed bad migrator, made data addition atomic in migration 0008 2019-12-06 21:29:20 +00:00
ddc23ce4e5 FIX: Prefix field still too limited for legacy data
Fingers crossed this works I don't have the actual data locally... I know I'm making a mess but needs must.

I genuinely hate whoever decided prefixes were a good idea now.
2019-12-06 00:58:39 +00:00
602ccc15ea FIX: Fix missing import
Presumably caused by Matt's IDE being overzealous again. I know I shouldn't be pushing to master but...one line fix...
2019-12-06 00:40:56 +00:00
Matthew Smith
b77615b9b9 Fix handling of prefixed Asset IDs and sorting of the asset list (#382)
* FIX: Remove misleading admin site title

* Moved across assets_id sorting to use proper numeric values. Also mofifies SQL command to find free asset IDs so that it works on postgres.

* Changed generateSampleAssetsData.py to include prefices on some cables.

* Fixed pep8

* Fixed missed migration

* Ensured hidden asset fields are completed on every database write

* CMULTI is a thing, and therefore a max prefix length of 5 cannot be a thing
2019-12-06 00:28:54 +00:00
Matthew Smith
171d5d633e CMULTI is a thing, and therefore a max prefix length of 5 cannot be a thing 2019-12-05 20:43:47 +00:00
Matthew Smith
294c839bc3 Ensured hidden asset fields are completed on every database write 2019-12-05 20:05:15 +00:00
Matthew Smith
73e8bc3326 Fixed missed migration 2019-12-05 17:01:37 +00:00
Matthew Smith
8ad0bdf5f3 Moved across assets_id sorting to use proper numeric values. Also mofifies SQL command to find free asset IDs so that it works on postgres. 2019-12-05 15:07:17 +00:00
4f036af85a Create the Asset Database (#363) 2019-12-04 23:14:27 +00:00