优化项目结构
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { mysqlTable, bigint, varchar, tinyint, int, text, decimal, json, datetime } from 'drizzle-orm/mysql-core';
|
||||
import { mysqlTable, bigint, varchar, tinyint, int, text, json, datetime } from 'drizzle-orm/mysql-core';
|
||||
import { sql } from 'drizzle-orm';
|
||||
|
||||
export const wwwSectionBlocks = mysqlTable('www_section_blocks', {
|
||||
@@ -13,8 +13,6 @@ export const wwwSectionBlocks = mysqlTable('www_section_blocks', {
|
||||
bodyColor: varchar('body_color', { length: 20 }).notNull().default(''),
|
||||
bgType: varchar('bg_type', { length: 10 }).notNull().default('color'),
|
||||
bgValue: varchar('bg_value', { length: 500 }).notNull().default(''),
|
||||
overlayEnabled: tinyint('overlay_enabled').notNull().default(0),
|
||||
overlayOpacity: decimal('overlay_opacity', { precision: 3, scale: 2 }).notNull().default('0.00'),
|
||||
overlineZh: varchar('overline_zh', { length: 100 }).notNull().default(''),
|
||||
overlineEn: varchar('overline_en', { length: 100 }).notNull().default(''),
|
||||
titleZh: varchar('title_zh', { length: 200 }).notNull().default(''),
|
||||
|
||||
Reference in New Issue
Block a user