Hi all,

After spending the last 12 months working intensively on a PHP based
project, I moved back to FPC once again for another project. One of the
more interesting concepts working in PHP was migrations. These are simple
scripts that define the columns in a database table including indexes and
foreign key constraints. Next to that also seeding and factories are
integrated in this design. A trivial example is shown below;

        Schema::create('flights', function (Blueprint $table) {
            $table->id();
            $table->string('name');
            $table->string('airline');
            $table->timestamps();
        });

I already did some tests in pascal and it seems quite doable to create a
system like this. But before I proceed I would like to check here if
something like this already exists and if other developers are interested
in this. If so I would publish the sources on github.

Rgds, Darius
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to