Some changes to hopefully make generating structure.sql easier. #4405
Some changes to hopefully make generating structure.sql easier.
When running `bin/rake db:structure:dump`, I get two lines of diff in my `structure.sql` file: 1. Some trailing space is added to a `CREATE VIEW` declaration. - This is pretty harmless, but it is annoying to remove each time. 2. A `DEFINER=` line gets added before our `rails_persons` `VIEW`. - This one regularly causes pain, as it breaks `bin/rake db:reset` for some reason. This diff changes things so we remove these changes when dumping the database schema.
- Loading branch information...
ProTip! Use n and p to navigate between commits in a pull request.