@@ -860,6 +860,53 @@ table! {
860860 }
861861}
862862
863+ table ! {
864+ use diesel:: sql_types:: * ;
865+ use diesel_full_text_search:: { TsVector as Tsvector } ;
866+
867+ /// Representation of the `version_owner_actions` table.
868+ ///
869+ /// (Automatically generated by Diesel.)
870+ version_owner_actions ( id) {
871+ /// The `id` column of the `version_owner_actions` table.
872+ ///
873+ /// Its SQL type is `Int4`.
874+ ///
875+ /// (Automatically generated by Diesel.)
876+ id -> Int4 ,
877+ /// The `version_id` column of the `version_owner_actions` table.
878+ ///
879+ /// Its SQL type is `Nullable<Int4>`.
880+ ///
881+ /// (Automatically generated by Diesel.)
882+ version_id -> Nullable <Int4 >,
883+ /// The `owner_id` column of the `version_owner_actions` table.
884+ ///
885+ /// Its SQL type is `Nullable<Int4>`.
886+ ///
887+ /// (Automatically generated by Diesel.)
888+ owner_id -> Nullable <Int4 >,
889+ /// The `owner_token_id` column of the `version_owner_actions` table.
890+ ///
891+ /// Its SQL type is `Nullable<Int4>`.
892+ ///
893+ /// (Automatically generated by Diesel.)
894+ owner_token_id -> Nullable <Int4 >,
895+ /// The `action` column of the `version_owner_actions` table.
896+ ///
897+ /// Its SQL type is `Int4`.
898+ ///
899+ /// (Automatically generated by Diesel.)
900+ action -> Int4 ,
901+ /// The `time` column of the `version_owner_actions` table.
902+ ///
903+ /// Its SQL type is `Timestamp`.
904+ ///
905+ /// (Automatically generated by Diesel.)
906+ time -> Timestamp ,
907+ }
908+ }
909+
863910table ! {
864911 use diesel:: sql_types:: * ;
865912 use diesel_full_text_search:: { TsVector as Tsvector } ;
@@ -982,6 +1029,9 @@ joinable!(recent_crate_downloads -> crates (crate_id));
9821029joinable ! ( version_authors -> users ( user_id) ) ;
9831030joinable ! ( version_authors -> versions ( version_id) ) ;
9841031joinable ! ( version_downloads -> versions ( version_id) ) ;
1032+ joinable ! ( version_owner_actions -> api_tokens ( owner_token_id) ) ;
1033+ joinable ! ( version_owner_actions -> users ( owner_id) ) ;
1034+ joinable ! ( version_owner_actions -> versions ( version_id) ) ;
9851035joinable ! ( versions -> crates ( crate_id) ) ;
9861036joinable ! ( versions -> users ( published_by) ) ;
9871037joinable ! ( versions_published_by -> versions ( version_id) ) ;
@@ -1010,6 +1060,7 @@ allow_tables_to_appear_in_same_query!(
10101060 users,
10111061 version_authors,
10121062 version_downloads,
1063+ version_owner_actions,
10131064 versions,
10141065 versions_published_by,
10151066) ;
0 commit comments