fix(mobile): database migration (#3903)
This commit is contained in:
parent
f325da0c31
commit
fa99d6f266
|
|
@ -32,4 +32,4 @@ DROP TABLE `users`;--> statement-breakpoint
|
|||
ALTER TABLE `__new_users` RENAME TO `users`;--> statement-breakpoint
|
||||
ALTER TABLE `feeds` ADD `tip_users` text;--> statement-breakpoint
|
||||
ALTER TABLE `feeds` ADD `published_at` integer;--> statement-breakpoint
|
||||
ALTER TABLE `inboxes` ADD `secret` text NOT NULL;
|
||||
ALTER TABLE `inboxes` ADD `secret` text DEFAULT '' NOT NULL;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"version": "6",
|
||||
"dialect": "sqlite",
|
||||
"id": "1b4d12ed-8a99-40de-9d48-e70b006faafa",
|
||||
"id": "04ab0964-78ae-4c9b-a5a8-b4b05d239d75",
|
||||
"prevId": "61f98b38-f03a-4f57-beb4-8c219ac1331c",
|
||||
"tables": {
|
||||
"collections": {
|
||||
|
|
@ -368,7 +368,8 @@
|
|||
"type": "text",
|
||||
"primaryKey": false,
|
||||
"notNull": true,
|
||||
"autoincrement": false
|
||||
"autoincrement": false,
|
||||
"default": "''"
|
||||
}
|
||||
},
|
||||
"indexes": {},
|
||||
|
|
|
|||
|
|
@ -173,8 +173,8 @@
|
|||
{
|
||||
"idx": 24,
|
||||
"version": "6",
|
||||
"when": 1749483541691,
|
||||
"tag": "0024_smiling_dazzler",
|
||||
"when": 1749628868500,
|
||||
"tag": "0024_spooky_alex_power",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import m0020 from "./0020_little_marauders.sql"
|
|||
import m0021 from "./0021_wakeful_onslaught.sql"
|
||||
import m0022 from "./0022_tiny_northstar.sql"
|
||||
import m0023 from "./0023_pink_namor.sql"
|
||||
import m0024 from "./0024_smiling_dazzler.sql"
|
||||
import m0024 from "./0024_spooky_alex_power.sql"
|
||||
import journal from "./meta/_journal.json"
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ export const subscriptionsTable = sqliteTable("subscriptions", {
|
|||
export const inboxesTable = sqliteTable("inboxes", {
|
||||
id: text("id").primaryKey(),
|
||||
title: text("title"),
|
||||
secret: text("secret").notNull(),
|
||||
secret: text("secret").notNull().default(""),
|
||||
})
|
||||
|
||||
export const listsTable = sqliteTable("lists", {
|
||||
|
|
|
|||
Loading…
Reference in New Issue