Lines Matching +full:php +full:- +full:version
1 <?php
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
26 * Upgrade the database schema from version 40 to version 41.
35 if (!DB::schema()->hasTable('news')) {
36 DB::schema()->create('news', static function (Blueprint $table): void {
37 $table->integer('news_id', true);
38 $table->integer('user_id')->nullable();
39 $table->integer('gedcom_id')->nullable();
40 $table->string('subject', 255);
41 $table->text('body');
42 $table->timestamp('updated')->useCurrent();
44 $table->index(['user_id', 'updated']);
45 $table->index(['gedcom_id', 'updated']);
47 $table->foreign('user_id')->references('user_id')->on('user')->onDelete('cascade');
48 … $table->foreign('gedcom_id')->references('gedcom_id')->on('gedcom')->onDelete('cascade');