Skip to content

Commit

Permalink
🍺
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Mar 7, 2024
1 parent 4b097eb commit 69c87cf
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('asset_containers'), function (Blueprint $table) {
Expand Down
3 changes: 2 additions & 1 deletion database/migrations/2024_03_07_100000_create_asset_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('assets_meta'), function (Blueprint $table) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('blueprints'), function (Blueprint $table) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('collections'), function (Blueprint $table) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('fieldsets'), function (Blueprint $table) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('form_submissions'), function (Blueprint $table) {
Expand Down
3 changes: 2 additions & 1 deletion database/migrations/2024_03_07_100000_create_forms_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('forms'), function (Blueprint $table) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('global_set_variables'), function (Blueprint $table) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('global_sets'), function (Blueprint $table) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('trees'), function (Blueprint $table) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('navigations'), function (Blueprint $table) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('revisions'), function (Blueprint $table) {
Expand All @@ -20,7 +21,6 @@ public function up()
});
}


public function down()
{
Schema::dropIfExists($this->prefix('revisions'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('taxonomies'), function (Blueprint $table) {
Expand Down
3 changes: 2 additions & 1 deletion database/migrations/2024_03_07_100000_create_terms_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('taxonomy_terms'), function (Blueprint $table) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Support\Facades\Schema;
use Statamic\Eloquent\Database\BaseMigration as Migration;

return new class extends Migration {
return new class extends Migration
{
public function up()
{
Schema::create($this->prefix('entries'), function (Blueprint $table) {
Expand Down

0 comments on commit 69c87cf

Please sign in to comment.