Skip to content

Commit

Permalink
fix: update schema for recent @mapeo/schema updates (#801)
Browse files Browse the repository at this point in the history
I accidentally merged 5b5914e without
waiting for CI, which would have caught a mistake: I didn't update
migrations when updating `@mapeo/schema`.

This fixes that.
  • Loading branch information
EvanHahn authored Aug 29, 2024
1 parent 5b5914e commit 98dfa5e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 18 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion drizzle/client/meta/0000_snapshot.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "5",
"dialect": "sqlite",
"id": "aea2dc34-6de1-4de7-86d5-0fbe93b682ff",
"id": "efbe54ff-5195-4127-b634-76e303657276",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"localDeviceInfo": {
Expand Down
4 changes: 2 additions & 2 deletions drizzle/client/meta/_journal.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
{
"idx": 0,
"version": "5",
"when": 1724690323632,
"tag": "0000_kind_imperial_guard",
"when": 1724972191819,
"tag": "0000_cultured_nick_fury",
"breakpoints": true
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ CREATE TABLE `observation` (
`updatedAt` text NOT NULL,
`links` text NOT NULL,
`deleted` integer NOT NULL,
`lat` real NOT NULL,
`lon` real NOT NULL,
`lat` real,
`lon` real,
`attachments` text NOT NULL,
`tags` text NOT NULL,
`metadata` text,
Expand Down Expand Up @@ -165,7 +165,6 @@ CREATE TABLE `track` (
`deleted` integer NOT NULL,
`locations` text NOT NULL,
`observationRefs` text NOT NULL,
`attachments` text NOT NULL,
`tags` text NOT NULL,
`forks` text NOT NULL
);
Expand Down
13 changes: 3 additions & 10 deletions drizzle/project/meta/0000_snapshot.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "5",
"dialect": "sqlite",
"id": "6a5db612-edfc-4c51-8977-535d9945e837",
"id": "2be32705-ddce-45ee-97c1-c6f2fc748568",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"coreOwnership_backlink": {
Expand Down Expand Up @@ -585,14 +585,14 @@
"name": "lat",
"type": "real",
"primaryKey": false,
"notNull": true,
"notNull": false,
"autoincrement": false
},
"lon": {
"name": "lon",
"type": "real",
"primaryKey": false,
"notNull": true,
"notNull": false,
"autoincrement": false
},
"attachments": {
Expand Down Expand Up @@ -978,13 +978,6 @@
"notNull": true,
"autoincrement": false
},
"attachments": {
"name": "attachments",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"tags": {
"name": "tags",
"type": "text",
Expand Down
4 changes: 2 additions & 2 deletions drizzle/project/meta/_journal.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
{
"idx": 0,
"version": "5",
"when": 1724690322669,
"tag": "0000_harsh_bloodstrike",
"when": 1724972190927,
"tag": "0000_woozy_stryfe",
"breakpoints": true
}
]
Expand Down

0 comments on commit 98dfa5e

Please sign in to comment.