aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-09 12:26:11 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-09 12:26:11 -0700
commit6b50b2d963719f5860f6fa46548abe2dbc9f2bc3 (patch)
tree691c3dcfc43c74d85e708a38a10e7ebc2b25a77e
parenta29beab0683d77086cc1b431779d0540dc5a9b49 (diff)
downloadfatcat-6b50b2d963719f5860f6fa46548abe2dbc9f2bc3.tar.gz
fatcat-6b50b2d963719f5860f6fa46548abe2dbc9f2bc3.zip
api_server: give up and use star schema import
-rw-r--r--rust/src/api_server.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/rust/src/api_server.rs b/rust/src/api_server.rs
index 31b71395..5fce8e64 100644
--- a/rust/src/api_server.rs
+++ b/rust/src/api_server.rs
@@ -4,12 +4,7 @@ use api_helpers::*;
use chrono;
use database_entity_crud::{EditContext, EntityCrud};
use database_models::*;
-use database_schema::{
- abstracts, changelog, container_edit, container_ident, container_rev, creator_edit,
- creator_ident, creator_rev, editgroup, editor, file_edit, file_ident, file_release, file_rev,
- file_rev_url, release_contrib, release_edit, release_ident, release_ref, release_rev,
- release_rev_abstract, work_edit, work_ident, work_rev,
-};
+use database_schema::*;
use diesel::prelude::*;
use diesel::{self, insert_into};
use errors::*;