I want to import a .sql file so that my new schema and datas is the one and the .sql file (so I don't care about losing my current schema and datas)
I tried rails db < sql-file-path
but it returns me an error :
I've found this answer but it's not clear what this is really doing, like we have to create a migration to execute ruby code and import a file ? Every solution is welcome :)