From 29ba38830c7e62cc89027c4a09e58f48dac804db Mon Sep 17 00:00:00 2001 From: Mir <65391345+Mir-SA@users.noreply.github.com> Date: Sat, 24 Sep 2022 21:15:26 +0530 Subject: [PATCH 1/2] tags model & few changes --- README.md | 2 ++ skills/README.md | 11 ----------- tags/README.md | 9 +++++++++ userTags/README.md | 12 ++++++++++++ users/README.md | 1 - 5 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 skills/README.md create mode 100644 tags/README.md create mode 100644 userTags/README.md diff --git a/README.md b/README.md index a75f79c..ac565c6 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,9 @@ Firebase database table structure - [Recruiters](/recruiters) - [Tasks](/tasks) - [Trade-logs](/trade-logs) +- [Tags](/tags) - [Transactions](/transactions) - [Stocks](/stocks) - [Users](/users) +- [UserTags](/userTags) - [Wallets](/wallets) diff --git a/skills/README.md b/skills/README.md deleted file mode 100644 index a38e69b..0000000 --- a/skills/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Skills -Firestore Skills collection data model. - -``` -{ - name: String, - on: String, - by: String, - for: String, -} -``` \ No newline at end of file diff --git a/tags/README.md b/tags/README.md new file mode 100644 index 0000000..668d7e8 --- /dev/null +++ b/tags/README.md @@ -0,0 +1,9 @@ +# Tags + +``` +{ + id: String, + type: String, + name: String +} +``` \ No newline at end of file diff --git a/userTags/README.md b/userTags/README.md new file mode 100644 index 0000000..7eff8a1 --- /dev/null +++ b/userTags/README.md @@ -0,0 +1,12 @@ +# User Tags +Firestore collection model for user related tags & its metadata + +``` +{ + userId: String, + tagId: String, + createdBy: String, + createdOn: Timestamp, + reason: String +} +``` \ No newline at end of file diff --git a/users/README.md b/users/README.md index 4abdbc7..ed54d22 100644 --- a/users/README.md +++ b/users/README.md @@ -16,7 +16,6 @@ 'linkedin_id': string, 'twitter_id': string, 'instagram_id': string, - 'skills': [], 'website': string, 'github_display_name': string, 'isMember': boolean, From 90ac351843b15229a50e262c116e652a175d4283 Mon Sep 17 00:00:00 2001 From: Mir <65391345+Mir-SA@users.noreply.github.com> Date: Wed, 28 Sep 2022 21:20:46 +0530 Subject: [PATCH 2/2] changes in tag model --- tags/README.md | 5 ++++- userTags/README.md | 3 --- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tags/README.md b/tags/README.md index 668d7e8..b186a48 100644 --- a/tags/README.md +++ b/tags/README.md @@ -4,6 +4,9 @@ { id: String, type: String, - name: String + name: String, + createdBy: String, + reason: String, + date: Timestamp, } ``` \ No newline at end of file diff --git a/userTags/README.md b/userTags/README.md index 7eff8a1..08d4721 100644 --- a/userTags/README.md +++ b/userTags/README.md @@ -5,8 +5,5 @@ Firestore collection model for user related tags & its metadata { userId: String, tagId: String, - createdBy: String, - createdOn: Timestamp, - reason: String } ``` \ No newline at end of file