Skip to content

Commit 5485649

Browse files
committed
drizzle-init
1 parent 029bd49 commit 5485649

File tree

3 files changed

+68
-0
lines changed

3 files changed

+68
-0
lines changed

drizzle/0000_third_spot.sql

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
CREATE TABLE "users" (
2+
"id" integer PRIMARY KEY NOT NULL,
3+
"name" varchar(255) NOT NULL,
4+
"age" integer NOT NULL
5+
);

drizzle/meta/0000_snapshot.json

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"id": "a9498a3d-c635-48c7-bf78-5bdf0f813470",
3+
"prevId": "00000000-0000-0000-0000-000000000000",
4+
"version": "7",
5+
"dialect": "postgresql",
6+
"tables": {
7+
"public.users": {
8+
"name": "users",
9+
"schema": "",
10+
"columns": {
11+
"id": {
12+
"name": "id",
13+
"type": "integer",
14+
"primaryKey": true,
15+
"notNull": true
16+
},
17+
"name": {
18+
"name": "name",
19+
"type": "varchar(255)",
20+
"primaryKey": false,
21+
"notNull": true
22+
},
23+
"age": {
24+
"name": "age",
25+
"type": "integer",
26+
"primaryKey": false,
27+
"notNull": true
28+
}
29+
},
30+
"indexes": {},
31+
"foreignKeys": {},
32+
"compositePrimaryKeys": {},
33+
"uniqueConstraints": {},
34+
"policies": {},
35+
"checkConstraints": {},
36+
"isRLSEnabled": false
37+
}
38+
},
39+
"enums": {},
40+
"schemas": {},
41+
"sequences": {},
42+
"roles": {},
43+
"policies": {},
44+
"views": {},
45+
"_meta": {
46+
"columns": {},
47+
"schemas": {},
48+
"tables": {}
49+
}
50+
}

drizzle/meta/_journal.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "7",
3+
"dialect": "postgresql",
4+
"entries": [
5+
{
6+
"idx": 0,
7+
"version": "7",
8+
"when": 1738429027398,
9+
"tag": "0000_third_spot",
10+
"breakpoints": true
11+
}
12+
]
13+
}

0 commit comments

Comments
 (0)