Skip to content
代码片段 群组 项目
提交 7948ca99 编辑于 作者: Chad Woolley's avatar Chad Woolley
浏览文件

Add actual_state_updated_at column to workspaces table

上级 1a33e52c
No related branches found
No related tags found
无相关合并请求
# frozen_string_literal: true
class AddActualStateUpdatedAtToWorkspaces < Gitlab::Database::Migration[2.2]
milestone '17.11'
def change
add_column :workspaces, :actual_state_updated_at, :datetime_with_timezone, null: false, default: '1970-01-01'
end
end
9f7a9198505162ceb254c9c9ed141395be5a34306e0619c9f1ef4ae0323fc8c7
\ No newline at end of file
......@@ -24660,6 +24660,7 @@ CREATE TABLE workspaces (
workspaces_agent_config_version integer NOT NULL,
desired_config_generator_version integer,
project_ref text,
actual_state_updated_at timestamp with time zone DEFAULT '1970-01-01 00:00:00+00'::timestamp with time zone NOT NULL,
CONSTRAINT check_15543fb0fa CHECK ((char_length(name) <= 64)),
CONSTRAINT check_157d5f955c CHECK ((char_length(namespace) <= 64)),
CONSTRAINT check_2b401b0034 CHECK ((char_length(deployment_resource_version) <= 64)),
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册