Skip to content

Commit

Permalink
Merge pull request #28 from yjacolin/patch-1
Browse files Browse the repository at this point in the history
Fix typo in SQL
  • Loading branch information
dbarzin authored Jul 28, 2023
2 parents 2053b56 + fd132bb commit d1c842e
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 d1c842e

Please sign in to comment.