Title: Make `created_by` field in templates table not null · Issue #2283 · coder/coder · GitHub
Open Graph Title: Make `created_by` field in templates table not null · Issue #2283 · coder/coder
X Title: Make `created_by` field in templates table not null · Issue #2283 · coder/coder
Description: #2228 added a created_by field to the Templates table to track the user that created the template. This field was kept nullable since it was not clear how to populate the field in existing records. @kylecarbs suggested that we make the c...
Open Graph Description: #2228 added a created_by field to the Templates table to track the user that created the template. This field was kept nullable since it was not clear how to populate the field in existing records....
X Description: #2228 added a created_by field to the Templates table to track the user that created the template. This field was kept nullable since it was not clear how to populate the field in existing records....
Opengraph URL: https://github.com/coder/coder/issues/2283
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make `created_by` field in templates table not null","articleBody":"#2228 added a `created_by` field to the Templates table to track the user that created the template. This field was kept nullable since it was not clear how to populate the field in existing records. @kylecarbs suggested that we make the `created_by` field not nullable and default to the first-created user instead, otherwise it just very odd design for the data model.\r\n","author":{"url":"https://github.com/AbhineetJain","@type":"Person","name":"AbhineetJain"},"datePublished":"2022-06-13T15:28:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2283/coder/issues/2283"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:77257507-f629-93e2-9cef-753c3b6637df |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7B0:244FA9:7C4C2E:B57283:6A4E11A7 |
| html-safe-nonce | 41805648ba3e8de96800c4214d95ff9ae54bcbb83a1846e65cbd687bc3c3a182 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0IwOjI0NEZBOTo3QzRDMkU6QjU3MjgzOjZBNEUxMUE3IiwidmlzaXRvcl9pZCI6IjYxMTY0OTIzNTcxMzMwMTM0MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f2b6de825d1a3740d7cd1f8e3a1db038c984a4dd6bda88dab12511297eae8d5e |
| hovercard-subject-tag | issue:1269612497 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/2283/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8acbd093e4046dfe690d603c3395adc1c68afd48e17f0afdcf210b472e9a4296/coder/coder/issues/2283 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8acbd093e4046dfe690d603c3395adc1c68afd48e17f0afdcf210b472e9a4296/coder/coder/issues/2283 |
| og:image:alt | #2228 added a created_by field to the Templates table to track the user that created the template. This field was kept nullable since it was not clear how to populate the field in existing records.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhineetJain |
| hostname | github.com |
| expected-hostname | github.com |
| None | df0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6 |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 51470c353b8a1f52a88d3e3cc2014b17ab8cc1ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width