Skip to content

Commit cd37d9d

Browse files
committed
Auto merge of #3549 - hi-rustin:rustin-patch-fix, r=pietroalbini
Remove version_authors and clean up old data close rust-lang/rust#83227
2 parents f32c0d6 + 70c8e2a commit cd37d9d

File tree

21 files changed

+22
-278
lines changed

21 files changed

+22
-278
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CREATE TABLE version_authors(
2+
id SERIAL NOT NULL CONSTRAINT version_authors_pkey PRIMARY KEY,
3+
version_id INTEGER NOT NULL CONSTRAINT fk_version_authors_version_id REFERENCES versions ON DELETE CASCADE,
4+
name VARCHAR NOT NULL
5+
);
6+
7+
CREATE INDEX index_version_authors_version_id ON version_authors (version_id);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE version_authors;

mirage/factories/version.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export default Factory.extend({
1414
downloads: i => (((i + 13) * 42) % 13) * 1234,
1515

1616
features: () => {},
17-
_authors: () => [],
1817

1918
crate_size: i => (((i + 13) * 42) % 13) * 54321,
2019

0 commit comments

Comments
 (0)