@zodic/shared 0.0.27 → 0.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,13 @@
15
15
  "when": 1737679840599,
16
16
  "tag": "0001_known_pretty_boy",
17
17
  "breakpoints": true
18
+ },
19
+ {
20
+ "idx": 2,
21
+ "version": "6",
22
+ "when": 1737680017244,
23
+ "tag": "0002_exotic_maria_hill",
24
+ "breakpoints": true
18
25
  }
19
26
  ]
20
27
  }
package/db/schema.ts CHANGED
@@ -34,8 +34,8 @@ export const users = sqliteTable(
34
34
  latitude: real('latitude').notNull(),
35
35
  longitude: real('longitude').notNull(),
36
36
  tzone: real('tzone'), // Nullable for inferred timezone
37
- instagramUsername: text('instagram_username'), // Nullable for optional social media
38
- tiktokUsername: text('tiktok_username'), // Fix typo
37
+ instagramUsername: text('instagram_username').unique(), // Nullable for optional social media
38
+ tiktokUsername: text('tiktok_username').unique(), // Fix typo
39
39
  credits_balance: integer('credits_balance').default(0).notNull(),
40
40
  totalCreditsEarned: integer('total_credits_earned').default(0).notNull(),
41
41
  lastTransactionAt: integer('last_transaction_at', { mode: 'timestamp' }), // Nullable for no transactions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {