Jeremy Stretch
5f43eabab1
Rename ContactAssignment.content_type to object_type
2024-03-04 08:33:44 -05:00
Jeremy Stretch
74e67afa41
Merge branch 'develop' into feature
2024-02-05 14:38:26 -05:00
Jeremy Stretch
b554e70eda
Squash migrations
2024-01-25 12:35:04 -05:00
Jeremy Stretch
222388b988
Revert "Closes #13647 : Squash all migrations prior to v3.7 ( #14853 )"
...
This reverts commit 874685fd6f
.
2024-01-22 13:15:43 -05:00
Jeremy Stretch
874685fd6f
Closes #13647 : Squash all migrations prior to v3.7 ( #14853 )
...
* Regenerate pre-v3.7 migrations
* Annotate replaced migrations
* Rename dependencies; remove FeatureQuery references
* Add missed replacement
2024-01-19 13:55:22 -05:00
Jeremy Stretch
5de2dea8a6
Fixes #14816 : Ensure default contact assignment ordering is consistent
2024-01-17 13:29:04 -05:00
Jeremy Stretch
b532435a6d
Closes #14436 : Add indexes for all GenericForeignKey fields ( #14463 )
...
* Closes #14436 : Add PostgreSQL indexes for all GenericForeignKeys
* Add note about GFK indexes to developer docs
2023-12-07 14:02:51 -05:00
Jeremy Stretch
2562c8745c
Closes #14156 : Add custom field support for contact assignments
2023-11-09 16:10:14 -05:00
Abhimanyu Saharan
cbf4b43b35
Adds tags on contact assignment ( #13328 )
...
* adds tags on contact assignments #12882
* updated migration
* added tags on import form
* adds TagsMixin on ContactAssignmentType #12882
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-08-01 11:52:14 -04:00
jeremystretch
8a08d3621b
Closes #10374 : Require unique tenant names & slugs per group (not globally)
2023-02-28 20:03:41 -05:00
Jeremy Stretch
bc6b5bc4be
Closes #10545 : Standardize description & comment fields on primary models ( #10834 )
...
* Standardize description & comments fields on primary models
* Update REST API serializers
* Update forms
* Update tables
* Update templates
2022-11-04 08:28:09 -04:00
jeremystretch
e2f5ee661a
Clean up redundant NestedGroupModel, OrganizationalModel fields
2022-11-03 13:59:44 -04:00
Arthur Hanson
af8bb0c4b9
10348 add decimal custom field ( #10422 )
...
* 10348 add decimal custom field
* 10348 fix tests
* 10348 add documentation
* Rearrange custom fields to be ordered consistently
* Rename number_field to integer_field for clarity
* Clean up validation logic
* Apply suggested changes from PR
* Store decimal custom field values natively
* Fix filter test
* Update custom field model migrations to use new encoder
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-09-30 16:03:24 -04:00
jeremystretch
f51415cf2c
Replace unique_together with UniqueConstraints
2022-09-27 15:35:24 -04:00
jeremystretch
c1b7f09530
Ensure legacy data checks run before other migrations
2022-04-05 15:56:21 -04:00
jeremystretch
cdacd2a951
Closes #8593 : Add link field to contact model
2022-03-30 16:19:12 -04:00
jeremystretch
272d6e7437
Closes #8463 : Change the created field on all change-logged models from date to datetime
2022-02-08 14:41:44 -05:00
jeremystretch
e4abbfb2c6
Closes #8454 : Set DEFAULT_AUTO_FIELD to BigAutoField
2022-01-25 17:37:06 -05:00
jeremystretch
571e9801f3
Closes #8195 : Ensure all GenericForeignKey ID fields employ PositiveBigIntegerField
2022-01-24 16:02:54 -05:00
jeremystretch
cfb3897047
Add tags to organizational & nested group models
2021-10-21 10:51:02 -04:00
jeremystretch
b44a5ea609
Prevent duplicate contact assignments
2021-10-18 16:33:31 -04:00
jeremystretch
f485a47b48
Tweak uniqueness constraints
2021-10-18 15:41:29 -04:00
jeremystretch
2e78568d4d
Initial work on contacts
2021-10-18 13:59:05 -04:00
jeremystretch
e738ff2fa7
Closes #6988 : Order tenants alphabetically without regard to group assignment
2021-09-15 14:56:20 -04:00
jeremystretch
3387282de4
Resolve migration dependencies
2021-07-09 11:51:42 -04:00
jeremystretch
c82470e4df
Add re-initialized migrations for v2.11.0
2021-07-09 11:11:21 -04:00
jeremystretch
4383425060
Delete pre-2.11.0 migrations
2021-07-09 10:57:07 -04:00
Jeremy Stretch
1dcd857ca6
Closes #5370 : Extend custom field support to organizational models
2021-02-26 16:25:37 -05:00
Jeremy Stretch
7e6cb9d186
Closes #1638 : Migrate all primary keys to 64-bit integers
2021-02-26 16:12:52 -05:00
Jeremy Stretch
bec7ea7072
Standardize model types based on function
2021-02-24 21:01:16 -05:00
Jeremy Stretch
c9c8d337a0
Closes #5011 : Standardized name field lengths across all models
2020-10-15 15:37:34 -04:00
Jeremy Stretch
5b3de8defe
Use DjangoJSONEncoder for encoding custom field data
2020-08-25 13:57:18 -04:00
Jeremy Stretch
879166d939
Initial work on reimplementing custom fields
2020-08-21 15:16:33 -04:00
Jeremy Stretch
6e832de4a9
Remove squashed migrations
2020-04-29 09:31:52 -04:00
Jeremy Stretch
9f5b138b0f
Add migrations for description fields
2020-03-13 16:35:36 -04:00
Jeremy Stretch
45f6ea211d
Implement support for nested TenantGroups
2020-03-11 21:12:55 -04:00
Jeremy Stretch
2615906526
Squashed all migrations
2020-01-14 11:06:05 -05:00
Jeremy Stretch
5c047faa1d
Delete old squashed migrations
2020-01-13 17:01:54 -05:00
Jeremy Stretch
f1d1e8b537
Update migrations
2019-04-09 14:22:45 -04:00
Jeremy Stretch
8a1d7fdb37
Updated migrations to account for extras/0017_exporttemplate_mime_type_length
2019-03-05 13:46:37 -05:00
John Anderson
b9d11aa4ca
refactor tag migrations and add changelog fields to tag
2019-02-22 01:32:31 -05:00
John Anderson
fc2bb724fa
initial pass on migrating to custom tag model with color and comments fields
2019-02-20 03:52:47 -05:00
Jeremy Stretch
980d62d579
Removed Python 2 string compatibility
2018-08-14 11:58:42 -04:00
Jeremy Stretch
4ae7f2337a
Closes #2213 : Added squashed migrations
2018-08-01 14:01:20 -04:00
Jeremy Stretch
b556d2d626
Renamed CreatedUpdatedModel to ChangeLoggedModel and applied it to all primary and organizational models
2018-06-13 15:40:16 -04:00
Jeremy Stretch
8f9fc8fb51
Added migrations for #132 (tags)
2018-05-22 15:06:47 -04:00
Jeremy Stretch
138cbf9761
Created migrations for transition to Unicode literals
2017-05-24 14:18:52 -04:00
Jeremy Stretch
bc9158a74f
Closes #412 : Tenant group assignment is no longer mandatory
2016-08-02 16:04:25 -04:00
Jeremy Stretch
65b008a493
Cleaned up migrations
2016-07-26 18:01:01 -04:00
Jeremy Stretch
27c21237ff
Added description to Tenant model
2016-07-26 17:44:32 -04:00