Skip to content

Commit

Permalink
Squash migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
cquiroz committed Dec 28, 2024
1 parent e995d2a commit 784b778
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion explore/src/main/scala/explore/tabs/ObsTabTiles.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import explore.undo.UndoSetter
import japgolly.scalajs.react.*
import japgolly.scalajs.react.extra.router.SetRouteVia
import japgolly.scalajs.react.vdom.html_<^.*
import lucuma.core.enums.CalibrationRole
import lucuma.core.enums.Site
import lucuma.core.math.Angle
import lucuma.core.math.Offset
Expand Down Expand Up @@ -87,7 +88,6 @@ import queries.schemas.odb.ObsQueries
import java.time.Instant
import scala.collection.immutable.SortedMap
import scala.collection.immutable.SortedSet
import lucuma.core.enums.CalibrationRole

case class ObsTabTiles(
vault: Option[UserVault],
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

DELETE FROM "public"."lucumaGridLayoutId" WHERE "id" = 'observations_twilight';

DELETE FROM "public"."lucumaGridLayoutId" WHERE "id" = 'observations_specphoto';

DELETE FROM "public"."lucumaTableIds" WHERE "id" = 'observation_validations';
DELETE FROM "public"."lucumaTableIds" WHERE "id" = 'requested_configs';
DELETE FROM "public"."lucumaTableIds" WHERE "id" = 'unrequested_configs';
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

INSERT INTO "public"."lucumaTableIds"("id") VALUES (E'observation_validations');
INSERT INTO "public"."lucumaTableIds"("id") VALUES (E'requested_configs');
INSERT INTO "public"."lucumaTableIds"("id") VALUES (E'unrequested_configs');

INSERT INTO "public"."lucumaGridLayoutId"("id") VALUES (E'observations_specphoto');

INSERT INTO "public"."lucumaGridLayoutId"("id") VALUES (E'observations_twilight');

This file was deleted.

This file was deleted.

0 comments on commit 784b778

Please sign in to comment.