mirror of
https://github.com/gregor-tokarev/cubicdone.git
synced 2026-09-14 11:06:21 +05:00
9 lines
231 B
TypeScript
9 lines
231 B
TypeScript
import { defineSchema } from "../src";
|
|
import { integer } from "../src";
|
|
import { string } from "../src";
|
|
|
|
const tasks = defineSchema("tasks", {
|
|
id: integer("id").default(2234).primaryKey(),
|
|
title: string("title").index(),
|
|
});
|