@@ -855,6 +855,53 @@ table! {
855
855
}
856
856
}
857
857
858
+ table ! {
859
+ use diesel:: sql_types:: * ;
860
+ use diesel_full_text_search:: { TsVector as Tsvector } ;
861
+
862
+ /// Representation of the `version_owner_actions` table.
863
+ ///
864
+ /// (Automatically generated by Diesel.)
865
+ version_owner_actions ( id) {
866
+ /// The `id` column of the `version_owner_actions` table.
867
+ ///
868
+ /// Its SQL type is `Int4`.
869
+ ///
870
+ /// (Automatically generated by Diesel.)
871
+ id -> Int4 ,
872
+ /// The `version_id` column of the `version_owner_actions` table.
873
+ ///
874
+ /// Its SQL type is `Nullable<Int4>`.
875
+ ///
876
+ /// (Automatically generated by Diesel.)
877
+ version_id -> Nullable <Int4 >,
878
+ /// The `owner_id` column of the `version_owner_actions` table.
879
+ ///
880
+ /// Its SQL type is `Nullable<Int4>`.
881
+ ///
882
+ /// (Automatically generated by Diesel.)
883
+ owner_id -> Nullable <Int4 >,
884
+ /// The `owner_token_id` column of the `version_owner_actions` table.
885
+ ///
886
+ /// Its SQL type is `Nullable<Int4>`.
887
+ ///
888
+ /// (Automatically generated by Diesel.)
889
+ owner_token_id -> Nullable <Int4 >,
890
+ /// The `action` column of the `version_owner_actions` table.
891
+ ///
892
+ /// Its SQL type is `Int4`.
893
+ ///
894
+ /// (Automatically generated by Diesel.)
895
+ action -> Int4 ,
896
+ /// The `time` column of the `version_owner_actions` table.
897
+ ///
898
+ /// Its SQL type is `Timestamp`.
899
+ ///
900
+ /// (Automatically generated by Diesel.)
901
+ time -> Timestamp ,
902
+ }
903
+ }
904
+
858
905
table ! {
859
906
use diesel:: sql_types:: * ;
860
907
use diesel_full_text_search:: { TsVector as Tsvector } ;
@@ -975,6 +1022,9 @@ joinable!(recent_crate_downloads -> crates (crate_id));
975
1022
joinable ! ( version_authors -> users ( user_id) ) ;
976
1023
joinable ! ( version_authors -> versions ( version_id) ) ;
977
1024
joinable ! ( version_downloads -> versions ( version_id) ) ;
1025
+ joinable ! ( version_owner_actions -> api_tokens ( owner_token_id) ) ;
1026
+ joinable ! ( version_owner_actions -> users ( owner_id) ) ;
1027
+ joinable ! ( version_owner_actions -> versions ( version_id) ) ;
978
1028
joinable ! ( versions -> crates ( crate_id) ) ;
979
1029
joinable ! ( versions -> users ( published_by) ) ;
980
1030
joinable ! ( versions_published_by -> versions ( version_id) ) ;
@@ -1002,6 +1052,7 @@ allow_tables_to_appear_in_same_query!(
1002
1052
users,
1003
1053
version_authors,
1004
1054
version_downloads,
1055
+ version_owner_actions,
1005
1056
versions,
1006
1057
versions_published_by,
1007
1058
) ;
0 commit comments