Skip to content

Commit 7828270

Browse files
Update update-table.md (#475)
* Update update-table.md * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update update-table.md * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update update-table.md * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update update-table.md * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update update-table.md Added revised instructions on handling FK tables, plus FK status section * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent b97453e commit 7828270

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

.github/ISSUE_TEMPLATE/update-table.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ assignees: ''
88

99
### Overview
1010

11-
We need to update the [Replace with TABLE NAME] table model to [Replace with REASON]
12-
[possibly "to include new fields and have the correct names for fields."]
11+
We need to update the [Replace with TABLE NAME] table model to [Replace with REASON, possibly "to include new fields and have the correct names for fields."]
1312

1413
#### Details
1514

@@ -18,19 +17,26 @@ We need to update the [Replace with TABLE NAME] table model to [Replace with REA
1817

1918
### Action Items
2019

21-
Update existing Django model
20+
- Update existing Django model
2221

2322
- [ ] In the files indicated by Resource 1.01, Change the following items in the code
2423

25-
| Current name in code | Updated Name | Updated Type (may already be this type) |
26-
| -------------------------------- | ------------ | --------------------------------------- |
27-
| [Replace with UPDATE TABLE DATA] | | |
24+
| Current Name in code | Updated Name | Updated Type (may already be this type) | FK Table | FK Table Issue(s) |
25+
| -------------------- | ------------ | --------------------------------------- | -------- | ----------------- |
26+
| -- | -- | -- | -- | -- |
2827

2928
- [ ] Add the following items in the code
3029

31-
| Name | Type |
32-
| ------------------------ | ---- |
33-
| [Replace with ADD TABLE] | |
30+
| Name | Type | FK Table | FK Table Issue(s) |
31+
| ---- | ---- | -------- | ----------------- |
32+
| -- | -- | -- | -- |
33+
34+
- Check to see if open issues in `FK status` below
35+
36+
- [ ] If all Issues listed are closed (or there are no FKs), then skip the next 3 steps
37+
- [ ] comment out the code after you create it (see FK Status below for open/closed state)
38+
- [ ] add an action item on the open issue to uncomment the code line you commented out when that issue's table is created.
39+
- [ ] Provide your file and line number as a permalink under resources in that issue
3440

3541
- [ ] Write a test for the new relationships this model will have with other models (e.g., creating a user and assigning them a set of permissions on a project) if any.
3642

@@ -42,6 +48,10 @@ Update existing Django model
4248

4349
- [ ] Document the endpoint in ReDocs
4450

51+
### FK status
52+
53+
- [#ISSUE NUMBER OF ANY FK TABLE(S)]
54+
4555
### After PR has been approved
4656

4757
- [ ] Release the dependency and move the issue out of the icebox for [Replace with ISSUE NUMBER OF UPDATE ERD]

0 commit comments

Comments
 (0)