@@ -598,6 +598,65 @@ table! {
598
598
}
599
599
}
600
600
601
+ table ! {
602
+ use diesel:: sql_types:: * ;
603
+ use diesel_full_text_search:: { TsVector as Tsvector } ;
604
+
605
+ /// Representation of the `persistent_sessions` table.
606
+ ///
607
+ /// (Automatically generated by Diesel.)
608
+ persistent_sessions ( id) {
609
+ /// The `id` column of the `persistent_sessions` table.
610
+ ///
611
+ /// Its SQL type is `Int4`.
612
+ ///
613
+ /// (Automatically generated by Diesel.)
614
+ id -> Int4 ,
615
+ /// The `user_id` column of the `persistent_sessions` table.
616
+ ///
617
+ /// Its SQL type is `Int4`.
618
+ ///
619
+ /// (Automatically generated by Diesel.)
620
+ user_id -> Int4 ,
621
+ /// The `hashed_token` column of the `persistent_sessions` table.
622
+ ///
623
+ /// Its SQL type is `Bytea`.
624
+ ///
625
+ /// (Automatically generated by Diesel.)
626
+ hashed_token -> Bytea ,
627
+ /// The `created_at` column of the `persistent_sessions` table.
628
+ ///
629
+ /// Its SQL type is `Timestamp`.
630
+ ///
631
+ /// (Automatically generated by Diesel.)
632
+ created_at -> Timestamp ,
633
+ /// The `last_used_at` column of the `persistent_sessions` table.
634
+ ///
635
+ /// Its SQL type is `Timestamp`.
636
+ ///
637
+ /// (Automatically generated by Diesel.)
638
+ last_used_at -> Timestamp ,
639
+ /// The `revoked` column of the `persistent_sessions` table.
640
+ ///
641
+ /// Its SQL type is `Bool`.
642
+ ///
643
+ /// (Automatically generated by Diesel.)
644
+ revoked -> Bool ,
645
+ /// The `last_ip_address` column of the `persistent_sessions` table.
646
+ ///
647
+ /// Its SQL type is `Inet`.
648
+ ///
649
+ /// (Automatically generated by Diesel.)
650
+ last_ip_address -> Inet ,
651
+ /// The `last_user_agent` column of the `persistent_sessions` table.
652
+ ///
653
+ /// Its SQL type is `Varchar`.
654
+ ///
655
+ /// (Automatically generated by Diesel.)
656
+ last_user_agent -> Varchar ,
657
+ }
658
+ }
659
+
601
660
table ! {
602
661
use diesel:: sql_types:: * ;
603
662
use diesel_full_text_search:: { TsVector as Tsvector } ;
@@ -627,6 +686,24 @@ table! {
627
686
}
628
687
}
629
688
689
+ table ! {
690
+ /// Representation of the `recent_crate_downloads` view.
691
+ ///
692
+ /// This data represents the downloads in the last 90 days.
693
+ /// This view does not contain realtime data.
694
+ /// It is refreshed by the `update-downloads` script.
695
+ recent_crate_downloads ( crate_id) {
696
+ /// The `crate_id` column of the `recent_crate_downloads` view.
697
+ ///
698
+ /// Its SQL type is `Integer`.
699
+ crate_id -> Integer ,
700
+ /// The `downloads` column of the `recent_crate_downloads` table.
701
+ ///
702
+ /// Its SQL type is `BigInt`.
703
+ downloads -> BigInt ,
704
+ }
705
+ }
706
+
630
707
table ! {
631
708
use diesel:: sql_types:: * ;
632
709
use diesel_full_text_search:: { TsVector as Tsvector } ;
@@ -679,24 +756,6 @@ table! {
679
756
}
680
757
}
681
758
682
- table ! {
683
- /// Representation of the `recent_crate_downloads` view.
684
- ///
685
- /// This data represents the downloads in the last 90 days.
686
- /// This view does not contain realtime data.
687
- /// It is refreshed by the `update-downloads` script.
688
- recent_crate_downloads ( crate_id) {
689
- /// The `crate_id` column of the `recent_crate_downloads` view.
690
- ///
691
- /// Its SQL type is `Integer`.
692
- crate_id -> Integer ,
693
- /// The `downloads` column of the `recent_crate_downloads` table.
694
- ///
695
- /// Its SQL type is `BigInt`.
696
- downloads -> BigInt ,
697
- }
698
- }
699
-
700
759
table ! {
701
760
use diesel:: sql_types:: * ;
702
761
use diesel_full_text_search:: { TsVector as Tsvector } ;
@@ -1023,6 +1082,7 @@ joinable!(dependencies -> versions (version_id));
1023
1082
joinable ! ( emails -> users ( user_id) ) ;
1024
1083
joinable ! ( follows -> crates ( crate_id) ) ;
1025
1084
joinable ! ( follows -> users ( user_id) ) ;
1085
+ joinable ! ( persistent_sessions -> users ( user_id) ) ;
1026
1086
joinable ! ( publish_limit_buckets -> users ( user_id) ) ;
1027
1087
joinable ! ( publish_rate_overrides -> users ( user_id) ) ;
1028
1088
joinable ! ( readme_renderings -> versions ( version_id) ) ;
@@ -1050,6 +1110,7 @@ allow_tables_to_appear_in_same_query!(
1050
1110
follows,
1051
1111
keywords,
1052
1112
metadata,
1113
+ persistent_sessions,
1053
1114
publish_limit_buckets,
1054
1115
publish_rate_overrides,
1055
1116
readme_renderings,
0 commit comments