Restored to '84d7de2da64f8f2fd1e2d64959817c64c8fb7c04'

Replit-Restored-To: 84d7de2da6
This commit is contained in:
sebastjanartic
2026-02-28 20:36:50 +00:00
parent 802282187e
commit c441cc1594
76 changed files with 4644 additions and 212 deletions
+17
View File
@@ -26,6 +26,23 @@ export const insertArticleSchema = createInsertSchema(articles).omit({
export type InsertArticle = z.infer<typeof insertArticleSchema>;
export type Article = typeof articles.$inferSelect;
export const dailyHoroscopes = pgTable("daily_horoscopes", {
id: serial("id").primaryKey(),
signIndex: integer("sign_index").notNull(),
signName: varchar("sign_name", { length: 50 }).notNull(),
dateStr: varchar("date_str", { length: 10 }).notNull(),
general: text("general").notNull(),
love: text("love").notNull(),
career: text("career").notNull(),
health: text("health").notNull(),
tip: text("tip").notNull(),
weekly: text("weekly").notNull(),
monthly: text("monthly").notNull(),
createdAt: timestamp("created_at").notNull().defaultNow(),
});
export type DailyHoroscope = typeof dailyHoroscopes.$inferSelect;
export const users = pgTable("users", {
id: varchar("id").primaryKey().default(sql`gen_random_uuid()`),
username: text("username").notNull().unique(),