yugioh-binder/src/database/schema.rs

41 lines
818 B
Rust

diesel::table! {
datas {
id -> Integer,
ot -> Integer,
alias -> Integer,
setcode -> Integer,
#[sql_name = "type"]
card_type -> Integer,
atk -> Integer,
def -> Integer,
level -> Integer,
race -> Integer,
attribute -> Integer,
category -> Integer,
}
}
diesel::table! {
texts {
id -> Integer,
name -> Text,
desc -> Text,
str1 -> Text,
str2 -> Text,
str3 -> Text,
str4 -> Text,
str5 -> Text,
str6 -> Text,
str7 -> Text,
str8 -> Text,
str9 -> Text,
str10 -> Text,
str11 -> Text,
str12 -> Text,
str13 -> Text,
str14 -> Text,
str15 -> Text,
str16 -> Text,
}
}