Skip to content

Commit

Permalink
fix syntax error in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Jul 27, 2023
1 parent 2c064ed commit 76346d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function up()
ALTER COLUMN "score" TYPE integer USING (score)::integer,
ALTER COLUMN "score" DROP NOT NULL,
ALTER COLUMN "score" DROP DEFAULT,
ALTER COLUMN "score" DROP identity IF EXISTS);'
ALTER COLUMN "score" DROP identity IF EXISTS);');
} else {
Schema::table('controls', function (Blueprint $table) {
$table->integer('score')->nullable()->change();
Expand Down

0 comments on commit 76346d0

Please sign in to comment.