mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
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:
@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user