Skip to content

Commit

Permalink
feat: Expose USER_MAPPING_RELATION_ID (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H authored and philippemnoel committed Dec 19, 2024
1 parent df70edd commit 69a9051
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions supabase-wrappers/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ pub const FOREIGN_SERVER_RELATION_ID: Oid = BuiltinOid::ForeignServerRelationId.
/// Constant can be used in [validator](ForeignDataWrapper::validator)
pub const FOREIGN_TABLE_RELATION_ID: Oid = BuiltinOid::ForeignTableRelationId.value();

/// Constant can be used in [validator](ForeignDataWrapper::validator)
pub const USER_MAPPING_RELATION_ID: Oid = BuiltinOid::UserMappingRelationId.value();

pub const OPTS_DATABASE_KEY: &str = "database_oid";
pub const OPTS_NAMESPACE_KEY: &str = "namespace_oid";
pub const OPTS_TABLE_KEY: &str = "table_oid";
Expand Down

0 comments on commit 69a9051

Please sign in to comment.