Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Let us add more files after initial file creation #71

Open
3 tasks
septIO opened this issue Sep 12, 2019 · 1 comment
Open
3 tasks

Let us add more files after initial file creation #71

septIO opened this issue Sep 12, 2019 · 1 comment

Comments

@septIO
Copy link
Member

septIO commented Sep 12, 2019

Currently you can set up you app, and then that's it. If we want to later make more models we'll have to add in the same sketch we used back then, make changes to the Schema and then to the templates (if any).

I want this to be possible (I'll check off items as they're implemented):

  • Add models whenever i want
  • Add functionality to already build files, eg. add phonenumber to users
  • Load in the sketch / schema i used to make my current app (including edits from step 2)
@septIO
Copy link
Member Author

septIO commented Sep 12, 2019

If your app is a git repo, you can get around the "Deletes files when adding new models" by doing this:

  1. Make sure your latest changes has been commited
  2. Add a new model
  3. Run git stash to "remove local changes"
  4. See that all of your old files are back, and the new files generated from the model stays

@ajthinking ajthinking transferred this issue from pipe-dream/core Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant