db: drop opnsense_id from devices schema

This commit is contained in:
2025-03-30 19:50:05 -07:00
parent 0e23c8e21c
commit d430f1db17
4 changed files with 230 additions and 2 deletions

View File

@@ -36,8 +36,6 @@ export const devices = sqliteTable('devices', {
.notNull()
.references(() => users.id),
name: text('name').notNull(),
// questioning whether this should be nullable
opnsenseId: text('opnsense_id'),
publicKey: text('public_key').notNull().unique(),
// nullable for the possibility of a user supplying their own private key
privateKey: text('private_key'),