sea_query/foreign_key/
mod.rs1mod common;
9mod create;
10mod drop;
11
12pub use common::*;
13pub use create::*;
14pub use drop::*;
15
16#[derive(Debug, Clone)]
18pub struct ForeignKey;
19
20#[derive(Debug, Clone)]
22pub enum ForeignKeyStatement {
23 Create(ForeignKeyCreateStatement),
24 Drop(ForeignKeyDropStatement),
25}
26
27impl ForeignKey {
28 pub fn create() -> ForeignKeyCreateStatement {
30 ForeignKeyCreateStatement::new()
31 }
32
33 pub fn drop() -> ForeignKeyDropStatement {
35 ForeignKeyDropStatement::new()
36 }
37}