官网内容管理-后端接口开发
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { mysqlTable, bigint, varchar } from 'drizzle-orm/mysql-core';
|
||||
|
||||
export const wwwI18nEntries = mysqlTable('www_i18n_entries', {
|
||||
id: bigint('id', { mode: 'number', unsigned: true }).primaryKey().autoincrement(),
|
||||
dictKey: varchar('dict_key', { length: 100 }).notNull().unique(),
|
||||
valueZh: varchar('value_zh', { length: 500 }).notNull().default(''),
|
||||
valueEn: varchar('value_en', { length: 500 }).notNull().default(''),
|
||||
description: varchar('description', { length: 200 }).notNull().default(''),
|
||||
});
|
||||
Reference in New Issue
Block a user