mit-pdos / noria

Fast web applications through dynamic, partially-stateful dataflow
Apache License 2.0
4.98k stars 242 forks source link

Delete base table or view #135

Closed delbato closed 5 years ago

delbato commented 5 years ago

I've been playing Noria in a private little CMS project - and noticed that there seems to be no way to delete a view or table once it has been installed? Or is there and i simply overlooked it? Is this perhaps intentional design?

ms705 commented 5 years ago

You can remove views! The way to do it is to use the install_recipe RPC, but to install a recipe that removes the view definition for the view you want to delete.

(extend_recipe is a shorthand for just appending to the list of view definitions, but you can use install_recipe to provide an arbitrary new list that overwrites the old list of view definitions. Noria will work out the difference and apply the changes.)

delbato commented 5 years ago

Thanks for the clarification! I suppose this issue can then be closed?