Clean up schema for table project_features

Per https://gitlab.com/gitlab-com/infrastructure/issues/1709 (private to GitLab employees):

  • Wrong data type: created_at should be timestamptz
  • Wrong data type: updated_at should be timestamptz
  • Missing constraint: created_at NOT NULL
  • Missing constraint: updated_at NOT NULL
  • Missing FK: project_id -> projects (20 entries violate this rule)
  • Missing constraint: UNIQUE (project_id) (57 projects violate this rule)
  • Missing constraint: project_id NOT NULL (406640 entries violate this rule)
Assignee Loading
Time tracking Loading