Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bug(coderd/database): workspaces.last_used_at is missing timezone component #9682

Closed
Assignees
johnstcn
@johnstcn

Description

@johnstcn

There's no comment on the DB field explaining the reasoning, so it's definitely a bug.

The migration that added it made a mistake of usingtimestamp vstimestamptz.

000043_workspace_last_used.up.sql2:    ADD COLUMN last_used_at timestamp NOT NULL DEFAULT '0001-01-01 00:00:00+00:00';

(See conflict between default value and field type.)

We should probably lint this somehow and prevent addition oftimestamp columns unless//nolinted.

Originally posted by@mafredri in#9672 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp