Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration of autocomplete to new DB schema #375

Merged
merged 12 commits into from
Nov 2, 2021
Merged

Migration of autocomplete to new DB schema #375

merged 12 commits into from
Nov 2, 2021

Conversation

alanwilter
Copy link
Collaborator

@alanwilter alanwilter commented Jul 15, 2021

Considering it to MERGE

I've completed the migration. AFAIK the only tables lingering from old schema (public) are actually actively used in the new schema:

  • users
  • user_config
  • users_individuals

What should we do about them? Whatever decided, to be dealt in another PR.

@netlify
Copy link

netlify bot commented Jul 15, 2021

✔️ Deploy Preview for phenopolis-dev canceled.

🔨 Explore the source changes: 5a570ab

🔍 Inspect the deploy log: https://app.netlify.com/sites/phenopolis-dev/deploys/618118303923320007fa1b40

@alanwilter alanwilter requested review from priesgo and pontikos July 15, 2021 06:18
README.md Outdated
@@ -20,6 +20,7 @@ AWS_SECRET_ACCESS_KEY=....
AWS_ACCESS_KEY_ID=....

NETLIFY_AUTH_TOKEN=....
NETLIFY_SITE_ID=....
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should remove both of these from the README...

This is only needed if you want to do fancy stuff with netlify dev - e.g. use the --live flag (which publishes to a live sharable URL instead of localhost)...

As such - it's complicating things unnecessarily

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, but where I should I put them:

NETLIFY_AUTH_TOKEN=....
NETLIFY_SITE_ID=....

in views/__init__.py, right? If so I can do that in this PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need them at all. I believe everything should work even if both of these are undefined.

(They are only needed if you want to run other commands using netlify cli (that deploys code with pushing to git etc. Or download config files set up on the netlify UI etc.)

@@ -8,8 +8,6 @@ PH_DB_PORT=5432

S3_VCF_FILE_URL="s3://phenopolis-vcf/August2019/merged2.vcf.gz"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should replace this with a link to a local file

(or ideally an S3 link to a file on a local MinIO instance...)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me merge this PR first and I will start working properly in #376.

@pontikos
Copy link
Contributor

pontikos commented Oct 29, 2021 via email

@alanwilter alanwilter merged commit a7514de into dev-live Nov 2, 2021
@alanwilter alanwilter deleted the mig_auto branch November 2, 2021 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants