Skip to content

How to ignore SQL scripts outside db/views? #391

Closed Answered by derekprior
onwardmk asked this question in Q&A
Discussion options

You must be logged in to vote

The scenic schema dumper dumps all views in the database that is configured for your current environment. This is consistent with how the rails schema dumper handles tables. If you had scripts that created tables then ran migrations, you would find those tables in your schema too.

I have two pieces of advice:

  1. Just let Scenic manage all of your views
  2. If that won't work for you, you should be able to use ignore_tables in order to prevent certain views from being dumped.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@onwardmk
Comment options

Answer selected by onwardmk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants