Open ghost opened 15 years ago
SchemaDumper orders views alphabetically. If we have a view named 'a' in which definition view 'b' is used, then schema loading will abort with PGError: ERROR: relation 'b' does not exist
I think this is addressed in this commit:
http://github.com/robertwahler/rails_sql_views/commit/3e70425950e96c116f2de5c7d396208965f15919
SchemaDumper orders views alphabetically. If we have a view named 'a' in which definition view 'b' is used, then schema loading will abort with PGError: ERROR: relation 'b' does not exist