feat: migrate audit log ids to bigints (blocking migration for EE)

This commit is contained in:
Ruben Fiszel
2025-07-28 08:52:39 +00:00
parent 7129a6e3c6
commit af208f7088
3 changed files with 4 additions and 1 deletions
@@ -0,0 +1 @@
-- Add down migration script here
@@ -0,0 +1,2 @@
ALTER TABLE audit ALTER COLUMN id TYPE bigint;
ALTER SEQUENCE audit_id_seq AS bigint;
+1 -1
View File
@@ -17,7 +17,7 @@ pub enum ActionKind {
#[derive(FromRow, Serialize, Deserialize)]
pub struct AuditLog {
pub workspace_id: String,
pub id: i32,
pub id: i64,
pub timestamp: chrono::DateTime<chrono::Utc>,
pub username: String,
pub operation: String,