App-ProxyHunter-Model-Schema-Pg
view release on metacpan or search on metacpan
lib/App/ProxyHunter/Model/Schema/Pg.pm view on Meta::CPAN
Oleg G, E<lt>oleg@cpan.orgE<gt>
=head1 COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself
=cut
__DATA__
CREATE TYPE proxy_type AS ENUM ('HTTPS_PROXY','HTTP_PROXY','CONNECT_PROXY','SOCKS4_PROXY','SOCKS5_PROXY','DEAD_PROXY');
CREATE TABLE proxy
(
id serial NOT NULL,
host character varying(15) NOT NULL,
port integer NOT NULL,
checked boolean NOT NULL DEFAULT false,
success_total integer NOT NULL DEFAULT 0,
fails_total integer NOT NULL DEFAULT 0,
insertdate timestamp without time zone NOT NULL,
checkdate timestamp without time zone NOT NULL DEFAULT '1980-01-01 00:00:00'::timestamp without time zone,
( run in 1.003 second using v1.01-cache-2.11-cpan-483215c6ad5 )