database_reflection/metadata/
consts.rs1#![allow(dead_code)]
2pub const METADATA_CHARSET: &str = "charset";
4
5pub const METADATA_COLLATION: &str = "collation";
7
8pub const METADATA_ON_UPDATE: &str = "on_update";
10
11pub const METADATA_ON_DELETE: &str = "on_delete";
13
14pub const METADATA_CASCADE: &str = "cascade";
16
17pub const METADATA_SET_NULL: &str = "set_null";
19
20pub const METADATA_FLAG_UNSIGNED: &str = "unsigned";
22
23pub const METADATA_FLAG_NULLABLE: &str = "nullable";
25
26pub const METADATA_FLAG_PRIMARY: &str = "primary";
28
29pub const METADATA_FLAG_UNIQUE: &str = "unique";
31
32pub const METADATA_FLAG_AUTO_INCREMENT: &str = "auto_increment";
34
35pub const METADATA_FLAG_DEFAULT_CURRENT_TIMESTAMP: &str = "current_timestamp()";
37
38pub const METADATA_FLAG_ON_UPDATE_CURRENT_TIMESTAMP: &str = "on update current_timestamp()";