diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-12-03 09:26:50 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-12-03 09:26:51 +0100 |
commit | 28725470845a23e89fbbd84714da29cae85123e9 (patch) | |
tree | 2d8cd1877e98005405c0d4deb87fa853d50e4681 /examples | |
parent | 788c81a44561942841a261337366e4a6e1059386 (diff) |
Remove accidentially committed file
This file was accidentially committed to the wrong location.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/packages/example_3/src/schema.rs | 132 |
1 files changed, 0 insertions, 132 deletions
diff --git a/examples/packages/example_3/src/schema.rs b/examples/packages/example_3/src/schema.rs deleted file mode 100644 index aa777a6..0000000 --- a/examples/packages/example_3/src/schema.rs +++ /dev/null @@ -1,132 +0,0 @@ -table! { - artifacts (id) { - id -> Int4, - path -> Varchar, - } -} - -table! { - endpoints (id) { - id -> Int4, - name -> Varchar, - } -} - -table! { - envvars (id) { - id -> Int4, - name -> Varchar, - value -> Varchar, - } -} - -table! { - githashes (id) { - id -> Int4, - hash -> Varchar, - } -} - -table! { - images (id) { - id -> Int4, - name -> Varchar, - } -} - -table! { - job_envs (id) { - id -> Int4, - job_id -> Int4, - env_id -> Int4, - } -} - -table! { - job_input_artifacts (id) { - id -> Int4, - job_id -> Int4, - artifact_id -> Int4, - } -} - -table! { - job_output_artifacts (id) { - id -> Int4, - job_id -> Int4, - artifact_id -> Int4, - } -} - -table! { - jobs (id) { - id -> Int4, - submit_id -> Int4, - endpoint_id -> Int4, - package_id -> Int4, - image_id -> Int4, - container_hash -> Varchar, - script_text -> Text, - log_text -> Text, - uuid -> Uuid, - } -} - -table! { - packages (id) { - id -> Int4, - name -> Varchar, - version -> Varchar, - } -} - -table! { - submit_envs (id) { - id -> Int4, - submit_id -> Int4, - env_id -> Int4, - } -} - -table! { - submits (id) { - id -> Int4, - uuid -> Uuid, - submit_time -> Timestamptz, - requested_image_id -> Int4, - requested_package_id -> Int4, - repo_hash_id -> Int4, - tree -> Jsonb, - } -} - -joinable!(job_envs -> envvars (env_id)); -joinable!(job_envs -> jobs (job_id)); -joinable!(job_input_artifacts -> artifacts (artifact_id)); -joinable!(job_input_artifacts -> jobs (job_id)); -joinable!(job_output_artifacts -> artifacts (artifact_id)); -joinable!(job_output_artifacts -> jobs (job_id)); -joinable!(jobs -> endpoints (endpoint_id)); -joinable!(jobs -> images (image_id)); -joinable!(jobs -> packages (package_id)); -joinable!(jobs -> submits (submit_id)); -joinable!(submit_envs -> envvars (env_id)); -joinable!(submit_envs -> submits (submit_id)); -joinable!(submits -> githashes (repo_hash_id)); -joinable!(submits -> images (requested_image_id)); -joinable!(submits -> packages (requested_package_id)); - -allow_tables_to_appear_in_same_query!( - artifacts, - endpoints, - envvars, - githashes, - images, - job_envs, - job_input_artifacts, - job_output_artifacts, - jobs, - packages, - submit_envs, - submits, -); |