Convert CoreData model to SQL
Go to https://github.com/phimage/cd2sql/releases and take the last binary for macOS cd2sql.zip
git clone https://github.com/phimage/cd2sql.git
cd cd2sql
swift build -c release
Binary result in .build/release/cd2sql
cd2sql <core data model>
cd2sql /path/to/MyModel.xcdatamodeld
CREATE TABLE Personne (
FirstName VARCHAR,
LastName VARCHAR,
ID INTEGER PRIMARY KEY
);