@@ -820,6 +820,53 @@ table! {
820820 }
821821}
822822
823+ table ! {
824+ use diesel:: sql_types:: * ;
825+ use diesel_full_text_search:: { TsVector as Tsvector } ;
826+
827+ /// Representation of the `version_owner_actions` table.
828+ ///
829+ /// (Automatically generated by Diesel.)
830+ version_owner_actions ( id) {
831+ /// The `id` column of the `version_owner_actions` table.
832+ ///
833+ /// Its SQL type is `Int4`.
834+ ///
835+ /// (Automatically generated by Diesel.)
836+ id -> Int4 ,
837+ /// The `version_id` column of the `version_owner_actions` table.
838+ ///
839+ /// Its SQL type is `Nullable<Int4>`.
840+ ///
841+ /// (Automatically generated by Diesel.)
842+ version_id -> Nullable <Int4 >,
843+ /// The `owner_id` column of the `version_owner_actions` table.
844+ ///
845+ /// Its SQL type is `Nullable<Int4>`.
846+ ///
847+ /// (Automatically generated by Diesel.)
848+ owner_id -> Nullable <Int4 >,
849+ /// The `owner_token_id` column of the `version_owner_actions` table.
850+ ///
851+ /// Its SQL type is `Nullable<Int4>`.
852+ ///
853+ /// (Automatically generated by Diesel.)
854+ owner_token_id -> Nullable <Int4 >,
855+ /// The `action` column of the `version_owner_actions` table.
856+ ///
857+ /// Its SQL type is `Int4`.
858+ ///
859+ /// (Automatically generated by Diesel.)
860+ action -> Int4 ,
861+ /// The `time` column of the `version_owner_actions` table.
862+ ///
863+ /// Its SQL type is `Timestamp`.
864+ ///
865+ /// (Automatically generated by Diesel.)
866+ time -> Timestamp ,
867+ }
868+ }
869+
823870table ! {
824871 use diesel:: sql_types:: * ;
825872 use diesel_full_text_search:: { TsVector as Tsvector } ;
@@ -939,6 +986,9 @@ joinable!(recent_crate_downloads -> crates (crate_id));
939986joinable ! ( version_authors -> users ( user_id) ) ;
940987joinable ! ( version_authors -> versions ( version_id) ) ;
941988joinable ! ( version_downloads -> versions ( version_id) ) ;
989+ joinable ! ( version_owner_actions -> api_tokens ( owner_token_id) ) ;
990+ joinable ! ( version_owner_actions -> users ( owner_id) ) ;
991+ joinable ! ( version_owner_actions -> versions ( version_id) ) ;
942992joinable ! ( versions -> crates ( crate_id) ) ;
943993joinable ! ( versions -> users ( published_by) ) ;
944994joinable ! ( versions_published_by -> versions ( version_id) ) ;
@@ -965,6 +1015,7 @@ allow_tables_to_appear_in_same_query!(
9651015 users,
9661016 version_authors,
9671017 version_downloads,
1018+ version_owner_actions,
9681019 versions,
9691020 versions_published_by,
9701021) ;
0 commit comments