Skip to content

Commit cc44c06

Browse files
committed
Refine schema
1 parent 9eaf747 commit cc44c06

File tree

2 files changed

+31
-74
lines changed

2 files changed

+31
-74
lines changed

src/schema.patch

Lines changed: 0 additions & 74 deletions
This file was deleted.

src/schema.rs

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,35 @@ table! {
814814
}
815815
}
816816

817+
table! {
818+
use diesel::sql_types::*;
819+
use diesel_full_text_search::{TsVector as Tsvector};
820+
821+
/// Representation of the `version_authors` table.
822+
///
823+
/// (Automatically generated by Diesel.)
824+
version_authors (id) {
825+
/// The `id` column of the `version_authors` table.
826+
///
827+
/// Its SQL type is `Int4`.
828+
///
829+
/// (Automatically generated by Diesel.)
830+
id -> Int4,
831+
/// The `version_id` column of the `version_authors` table.
832+
///
833+
/// Its SQL type is `Int4`.
834+
///
835+
/// (Automatically generated by Diesel.)
836+
version_id -> Int4,
837+
/// The `name` column of the `version_authors` table.
838+
///
839+
/// Its SQL type is `Varchar`.
840+
///
841+
/// (Automatically generated by Diesel.)
842+
name -> Varchar,
843+
}
844+
}
845+
817846
table! {
818847
use diesel::sql_types::*;
819848
use diesel_full_text_search::{TsVector as Tsvector};
@@ -1021,6 +1050,7 @@ joinable!(publish_limit_buckets -> users (user_id));
10211050
joinable!(publish_rate_overrides -> users (user_id));
10221051
joinable!(readme_renderings -> versions (version_id));
10231052
joinable!(recent_crate_downloads -> crates (crate_id));
1053+
joinable!(version_authors -> versions (version_id));
10241054
joinable!(version_downloads -> versions (version_id));
10251055
joinable!(version_owner_actions -> api_tokens (api_token_id));
10261056
joinable!(version_owner_actions -> users (user_id));
@@ -1051,6 +1081,7 @@ allow_tables_to_appear_in_same_query!(
10511081
reserved_crate_names,
10521082
teams,
10531083
users,
1084+
version_authors,
10541085
version_downloads,
10551086
version_owner_actions,
10561087
versions,

0 commit comments

Comments
 (0)