You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tasks/dump_db/readme_for_tarball.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,16 @@ This is a dump of the public information in the crates.io database.
4
4
5
5
## Files
6
6
7
-
*`data/` – the CSV files with the actual dump data.
7
+
*`data/` – the CSV files with the actual data.
8
8
*`export.sql` – the `psql` script that was used to create this database dump. It is only included in the archive for reference.
9
9
*`import.sql` – a `psql` script that can be used to restore the dump into a PostgreSQL database with the same schema as the `crates.io` database, destroying all current data.
10
10
*`metadata.json` – some metadata of this dump.
11
+
*`schema.sql` – a dump of the database schema to facilitate generating a new database from the data.
11
12
12
13
## Metadata Fields
13
14
14
15
*`timestamp` – the UTC time the dump was started.
15
16
*`crates_io_commit` – the git commit hash of the deployed version of crates.io that created this dump.
16
-
*`format_version` – the version of the layout and format of this dump. Roughly follows SemVer conventions.
0 commit comments