Re: [fpc-pascal] Database migration

2020-06-22 Thread Michael Van Canneyt
On Mon, 22 Jun 2020, Jean SUZINEAU wrote: Le 21/06/2020 à 09:55, Michael Van Canneyt a écrit : I use the functionality in the database desktop actively. The generated code even runs in Delphi. If you look at it and find ways to improve it, I'm all ears :-) I got a quick

Re: [fpc-pascal] Database migration

2020-06-21 Thread Jean SUZINEAU
Le 21/06/2020 à 09:55, Michael Van Canneyt a écrit : I use the functionality in the database desktop actively. The generated code even runs in Delphi. If you look at it and find ways to improve it, I'm all ears :-) I

Re: [fpc-pascal] Database migration

2020-06-21 Thread Michael Van Canneyt
On Sun, 21 Jun 2020, Jean SUZINEAU wrote: Le 21/06/2020 à 00:30, Michael Van Canneyt a écrit : FPC contains this as well since many years, you can drop the components on a form, but they are exposed in the lazarus database desktop as well. Very interesting, I didn't know this existed. I

Re: [fpc-pascal] Database migration

2020-06-21 Thread Jean SUZINEAU
Le 21/06/2020 à 00:30, Michael Van Canneyt a écrit : FPC contains this as well since many years, you can drop the components on a form, but they are exposed in the lazarus database desktop as well. Very interesting, I didn't know this existed. I will have look at it. In fact I developed my

Re: [fpc-pascal] Database migration

2020-06-20 Thread Michael Van Canneyt
On Sun, 21 Jun 2020, Jean SUZINEAU wrote: Hello, Le 19/06/2020 à 13:55, Darius Blaszyk via fpc-pascal a écrit : Schema::create('flights', function (Blueprint $table) { $table->id(); $table->string('name'); $table->string('airline');

Re: [fpc-pascal] Database migration

2020-06-20 Thread Jean SUZINEAU
Hello, Le 19/06/2020 à 13:55, Darius Blaszyk via fpc-pascal a écrit : Schema::create('flights', function (Blueprint $table) { $table->id(); $table->string('name');

Re: [fpc-pascal] Database migration

2020-06-20 Thread leledumbo via fpc-pascal
> But before I proceed I would like to check here if something like this already exists None that I know of for native Pascal. As I no longer use ORM, Sqitch does the job for me these days. Basically it's like a git for database schema (surely you can do CRUD as well there, but it's mainly for