refactor(core): patch file for removal of id from schema (#5398)

Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
This commit is contained in:
Prajjwal Kumar
2024-07-24 23:01:18 +05:30
committed by GitHub
parent 8e7de90684
commit ff3b9a2a12
37 changed files with 127 additions and 97 deletions

View File

@ -9,9 +9,8 @@ pub mod dashboard_metadata;
pub mod sample_data;
#[derive(Clone, Debug, Identifiable, Queryable, Selectable)]
#[diesel(table_name = users, check_for_backend(diesel::pg::Pg))]
#[diesel(table_name = users, primary_key(user_id), check_for_backend(diesel::pg::Pg))]
pub struct User {
pub id: i32,
pub user_id: String,
pub email: pii::Email,
pub name: Secret<String>,