Unable to set user ID using databaseHooks

Hey guys, I'm trying to set the user id using databaseHooks:
databaseHooks: {
  user: {
    create: {
      before: async (user, ctx) => {
        return {
          data: {
            user: {
              ...user,
              id: "123",
            },
          },
        };
      },
    },
  },
}
but it just keeps getting overridden. Is there a way to do this?
Was this page helpful?