Skip to content

Commit 80a4529

Browse files
committed
Remove version_authors
Clean up front end data
1 parent 4125597 commit 80a4529

File tree

18 files changed

+31
-263
lines changed

18 files changed

+31
-263
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
CREATE TABLE version_authors
2+
(
3+
id SERIAL NOT NULL
4+
CONSTRAINT version_authors_pkey
5+
PRIMARY KEY,
6+
version_id INTEGER NOT NULL
7+
CONSTRAINT fk_version_authors_version_id
8+
REFERENCES versions
9+
ON DELETE CASCADED,
10+
name VARCHAR NOT NULL
11+
);
12+
13+
CREATE
14+
INDEX index_version_authors_version_id
15+
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)