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

User Management backend - Base - DB migrations #39

Closed
wants to merge 68 commits into from

Conversation

DoRTaL94
Copy link
Collaborator

fixes #27.
This PR depends on PR #38.
Added Flask-Migrate extension for database migrations support.
The content inside edison/migrations folder is auto-created by the extension.

@ahinoamta @RoniRush

DoRTaL94 added 11 commits April 25, 2020 18:57
- Renamed test folder to tests.
- Renamed flask_init file to app and updated its name inside setup.sh.
- Moved static and templates folders to edison folder.
- Changed network definition to private.
- Added a dhcp bug fix.
Added init file to edison folder to make it a module.
Added config file so the app will auto configured once the flask app starts.
Added config file so the app will auto configured once the flask app starts.
Added triggers to Vagrantfile for up and destroy commands.
After vagrant up is executed an attempt to restore db data accures.
Before vagrant destroy is executed a save to db data accures.
Added Flask-Migrate extension for database migrations support.
The content inside edison/migrations folder is auto-created by the extension.
@ifireball
Copy link
Collaborator

Unfortunately GitHub makes it close to impossible to properly review PRs that depend on other PRs because it shows all the changes mixed together instead of letting you see only the changes in the relevant PR. So we'll need to merge the first PR before we can review the ones that depend on it (This is why I don't personally consider GitHub to be a serious code review platform).

Copy link
Collaborator

@simzacks simzacks left a comment

Choose a reason for hiding this comment

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

I'm not sure what is going on with this PR. It shows all the files as being new, even though they already exist in the repo (such as edison/init.py and edison/app.py). I can't see what changes were made if any and this looks like it would overwrite changes that were already made.
For example, in PR #38 you added import edison.models, but I don't see that in this code.

Probably you will need to rebase this PR with the repo and resubmit it
This is especially weird because it shows that there are no conflicts.

naamaCohen1 and others added 10 commits May 17, 2020 12:18
…of show condition and remove conditions. instead of creating form elemet from zero until count condition -1, createting the element from 1 until count condition and remove from one until the count condition
turn over a variable form global (count condition variable) to private
Added Flask-Migrate extension for database migrations support.
The content inside edison/migrations folder is auto-created by the extension.
…to db-migrations

# Conflicts:
#	requirements.txt
@ahinoamta
Copy link
Collaborator

I'll open new PR, so the 'files changed' will be updated

@ahinoamta ahinoamta closed this May 19, 2020
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.

User Management backend - Base
7 participants