forked from asashamim1/pypi-data
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.sql
More file actions
34 lines (33 loc) · 700 Bytes
/
schema.sql
File metadata and controls
34 lines (33 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
CREATE table projects(
id integer not null primary key,
name text,
version text,
author text,
author_email text,
home_page text,
license text,
maintainer text,
maintainer_email text,
package_url text,
platform text,
project_url text,
requires_python text,
summary text,
yanked int,
yanked_reason text,
classifiers text,
requires_dist text,
UNIQUE(name, version)
);
CREATE table urls(
project_id int,
url text,
upload_time text,
package_type text,
python_version text,
requires_python text,
size int,
yanked int,
yanked_reason text,
foreign key(project_id) REFERENCES projects(id)
);