mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 23:28:45 +00:00
feat(infisical-pg): added database schema for project, its membership role and env
This commit is contained in:
@@ -12,7 +12,11 @@ export enum TableName {
|
||||
IncidentContact = "incident_contacts",
|
||||
UserAction = "user_actions",
|
||||
SuperAdmin = "super_admin",
|
||||
ApiKey = "api_keys"
|
||||
ApiKey = "api_keys",
|
||||
Project = "projects",
|
||||
Environment = "project_environments",
|
||||
ProjectMembership = "project_memberships",
|
||||
ProjectRoles = "project_roles"
|
||||
}
|
||||
|
||||
export type TImmutableDBKeys = "id" | "createdAt" | "updatedAt";
|
||||
@@ -36,6 +40,14 @@ export enum OrgMembershipStatus {
|
||||
Accepted = "accepted"
|
||||
}
|
||||
|
||||
export enum ProjectMembershipRole {
|
||||
Admin = "admin",
|
||||
Member = "member",
|
||||
Custom = "custom",
|
||||
Viewer = "viewer",
|
||||
NoAccess = "no-access"
|
||||
}
|
||||
|
||||
export enum SecretEncryptionAlgo {
|
||||
AES_256_GCM = "aes-256-gcm"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user