diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-09-08 08:43:19 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2017-09-08 08:43:19 +0200 |
commit | b2cef23c84e67be2a0ab15a7543bbe5139803464 (patch) | |
tree | 77462d075899a169056fbc978892f729a35366c6 /vnfcatalogue/VNF_Catalogue/migration/schema.js | |
parent | b3580028292d2927564020e8143bc1f659ef0ab3 (diff) |
Remove VNF catalogue from releng
It has been transfered to sample vnf repo [1]
[1]: https://git.opnfv.org/samplevnf/tree/VNF_Catalogue
Change-Id: I418151bd24517efeb66fc0ae76cb9e091bd130f6
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'vnfcatalogue/VNF_Catalogue/migration/schema.js')
-rw-r--r-- | vnfcatalogue/VNF_Catalogue/migration/schema.js | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/vnfcatalogue/VNF_Catalogue/migration/schema.js b/vnfcatalogue/VNF_Catalogue/migration/schema.js deleted file mode 100644 index 4a7559a..0000000 --- a/vnfcatalogue/VNF_Catalogue/migration/schema.js +++ /dev/null @@ -1,57 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2017 Kumar Rishabh(penguinRaider) and others. - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Apache License, Version 2.0 - * which accompanies this distribution, and is available at - * http://www.apache.org/licenses/LICENSE-2.0 - *******************************************************************************/ -var Schema = { - photo: { - photo_id: {type: 'increments', nullable: false, primary: true}, - photo_url: {type: 'string', maxlength: 254, nullable: false} - }, - user: { - user_id: {type: 'increments', nullable: false, primary: true}, - user_name: {type: 'string', maxlength: 254, nullable: false}, - password: {type: 'string', maxlength: 150, nullable: false}, - email_id: {type: 'string', maxlength: 254, nullable: false, unique: true, validations: {isEmail: true}}, - photo_id: {type: 'integer', nullable: true, unsigned: true, references: 'photo.photo_id'}, - company: {type: 'string', maxlength: 254, nullable: false}, - introduction: {type: 'string', maxlength: 510, nullable: false}, - last_login: {type: 'dateTime', nullable: true}, - created_at: {type: 'dateTime', nullable: false}, - }, - vnf: { - vnf_id: {type: 'increments', nullable: false, primary: true}, - vnf_name: {type: 'string', maxlength: 254, nullable: false}, - repo_url: {type: 'string', maxlength: 254, nullable: false}, - photo_id: {type: 'integer', nullable: true, unsigned: true, references: 'photo.photo_id'}, - submitter_id: {type: 'integer', nullable: false, unsigned: true, references: 'user.user_id'}, - lines_of_code: {type: 'integer', nullable: true, unsigned: true}, - versions: {type: 'integer', nullable: true, unsigned: true}, - no_of_developers: {type: 'integer', nullable: true, unsigned: true}, - no_of_stars: {type: 'integer', nullable: true, unsigned: true}, - license: {type: 'enum', nullable: false, values: ['MIT', 'GPL', 'GPL_V2', 'BSD', 'APACHE']}, - opnfv_indicator: {type: 'enum', nullable: false, values: ['gold', 'silver', 'platinum']}, - complexity: {type: 'enum', nullable: true, values: ['low', 'medium', 'high']}, - activity: {type: 'enum', nullable: true, values: ['low', 'medium', 'high']}, - last_updated: {type: 'dateTime', nullable: true}, - }, - tag: { - tag_id: {type: 'increments', nullable: false, primary: true}, - tag_name: {type: 'string', maxlength: 150, nullable: false} - }, - vnf_tags: { - vnf_tag_id: {type: 'increments', nullable: false, primary: true}, - tag_id: {type: 'integer', nullable: false, unsigned: true, references: 'tag.tag_id'}, - vnf_id: {type: 'integer', nullable: false, unsigned: true, references: 'vnf.vnf_id'}, - }, - vnf_contributors: { - vnf_contributors_id: {type: 'increments', nullable: false, primary: true}, - user_id: {type: 'integer', nullable: false, unsigned: true, references: 'user.user_id'}, - vnf_id: {type: 'integer', nullable: false, unsigned: true, references: 'vnf.vnf_id'}, - created_at: {type: 'dateTime', nullable: false}, - } -}; -module.exports = Schema; |