cdinger / scenic-oracle_adapter

An Oracle adapter for Thoughtbot's scenic gem
MIT License
6 stars 5 forks source link

Can we update this gem to allow trailing `;` in sql files #17

Open IanWhitney opened 1 month ago

IanWhitney commented 1 month ago

Oracle will fail to build a view/mview if the sql file contains a trailing ;.

Usually we write our queries in a SQL client that requires the ;. Then we copy the query over to Scenic only to have the deploy fail.

Should we update the gem to strip any trailing ; when reading the sql file?