Skip to content

Commit 3ea1ef4

Browse files
authored
Merge pull request #2 from Akashamba/akash/new-ui
Integrated new UI
2 parents 633d45d + 0f16220 commit 3ea1ef4

36 files changed

+2004
-59
lines changed

bun.lock

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ALTER TABLE "flipside_article" ALTER COLUMN "user_id" SET DATA TYPE text;--> statement-breakpoint
2+
ALTER TABLE "flipside_article" ALTER COLUMN "title" SET NOT NULL;--> statement-breakpoint
3+
ALTER TABLE "flipside_article" ALTER COLUMN "created_at" SET NOT NULL;--> statement-breakpoint
4+
ALTER TABLE "flipside_article" ADD COLUMN "image_url" text;--> statement-breakpoint
5+
ALTER TABLE "flipside_article" ADD COLUMN "updated_at" timestamp DEFAULT now() NOT NULL;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "flipside_article" ALTER COLUMN "title" DROP NOT NULL;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "flipside_article" ALTER COLUMN "title" SET NOT NULL;

drizzle/meta/0002_snapshot.json

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"id": "b097010d-2b82-4f2e-af77-b0728110f64e",
3+
"prevId": "9c8a25c5-9684-438a-a61d-1df97a052646",
4+
"version": "7",
5+
"dialect": "postgresql",
6+
"tables": {
7+
"public.flipside_article": {
8+
"name": "flipside_article",
9+
"schema": "",
10+
"columns": {
11+
"id": {
12+
"name": "id",
13+
"type": "uuid",
14+
"primaryKey": true,
15+
"notNull": true,
16+
"default": "gen_random_uuid()"
17+
},
18+
"user_id": {
19+
"name": "user_id",
20+
"type": "text",
21+
"primaryKey": false,
22+
"notNull": true
23+
},
24+
"url": {
25+
"name": "url",
26+
"type": "text",
27+
"primaryKey": false,
28+
"notNull": true
29+
},
30+
"image_url": {
31+
"name": "image_url",
32+
"type": "text",
33+
"primaryKey": false,
34+
"notNull": false
35+
},
36+
"title": {
37+
"name": "title",
38+
"type": "text",
39+
"primaryKey": false,
40+
"notNull": true
41+
},
42+
"description": {
43+
"name": "description",
44+
"type": "text",
45+
"primaryKey": false,
46+
"notNull": false
47+
},
48+
"tags": {
49+
"name": "tags",
50+
"type": "text",
51+
"primaryKey": false,
52+
"notNull": false
53+
},
54+
"created_at": {
55+
"name": "created_at",
56+
"type": "timestamp",
57+
"primaryKey": false,
58+
"notNull": true,
59+
"default": "now()"
60+
},
61+
"updated_at": {
62+
"name": "updated_at",
63+
"type": "timestamp",
64+
"primaryKey": false,
65+
"notNull": true,
66+
"default": "now()"
67+
}
68+
},
69+
"indexes": {
70+
"title_idx": {
71+
"name": "title_idx",
72+
"columns": [
73+
{
74+
"expression": "title",
75+
"isExpression": false,
76+
"asc": true,
77+
"nulls": "last"
78+
}
79+
],
80+
"isUnique": false,
81+
"concurrently": false,
82+
"method": "btree",
83+
"with": {}
84+
}
85+
},
86+
"foreignKeys": {},
87+
"compositePrimaryKeys": {},
88+
"uniqueConstraints": {},
89+
"policies": {},
90+
"checkConstraints": {},
91+
"isRLSEnabled": false
92+
}
93+
},
94+
"enums": {},
95+
"schemas": {},
96+
"sequences": {},
97+
"roles": {},
98+
"policies": {},
99+
"views": {},
100+
"_meta": {
101+
"columns": {},
102+
"schemas": {},
103+
"tables": {}
104+
}
105+
}

drizzle/meta/0003_snapshot.json

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"id": "53528728-7967-459d-b52e-07421fc0a36a",
3+
"prevId": "b097010d-2b82-4f2e-af77-b0728110f64e",
4+
"version": "7",
5+
"dialect": "postgresql",
6+
"tables": {
7+
"public.flipside_article": {
8+
"name": "flipside_article",
9+
"schema": "",
10+
"columns": {
11+
"id": {
12+
"name": "id",
13+
"type": "uuid",
14+
"primaryKey": true,
15+
"notNull": true,
16+
"default": "gen_random_uuid()"
17+
},
18+
"user_id": {
19+
"name": "user_id",
20+
"type": "text",
21+
"primaryKey": false,
22+
"notNull": true
23+
},
24+
"url": {
25+
"name": "url",
26+
"type": "text",
27+
"primaryKey": false,
28+
"notNull": true
29+
},
30+
"image_url": {
31+
"name": "image_url",
32+
"type": "text",
33+
"primaryKey": false,
34+
"notNull": false
35+
},
36+
"title": {
37+
"name": "title",
38+
"type": "text",
39+
"primaryKey": false,
40+
"notNull": false
41+
},
42+
"description": {
43+
"name": "description",
44+
"type": "text",
45+
"primaryKey": false,
46+
"notNull": false
47+
},
48+
"tags": {
49+
"name": "tags",
50+
"type": "text",
51+
"primaryKey": false,
52+
"notNull": false
53+
},
54+
"created_at": {
55+
"name": "created_at",
56+
"type": "timestamp",
57+
"primaryKey": false,
58+
"notNull": true,
59+
"default": "now()"
60+
},
61+
"updated_at": {
62+
"name": "updated_at",
63+
"type": "timestamp",
64+
"primaryKey": false,
65+
"notNull": true,
66+
"default": "now()"
67+
}
68+
},
69+
"indexes": {
70+
"title_idx": {
71+
"name": "title_idx",
72+
"columns": [
73+
{
74+
"expression": "title",
75+
"isExpression": false,
76+
"asc": true,
77+
"nulls": "last"
78+
}
79+
],
80+
"isUnique": false,
81+
"concurrently": false,
82+
"method": "btree",
83+
"with": {}
84+
}
85+
},
86+
"foreignKeys": {},
87+
"compositePrimaryKeys": {},
88+
"uniqueConstraints": {},
89+
"policies": {},
90+
"checkConstraints": {},
91+
"isRLSEnabled": false
92+
}
93+
},
94+
"enums": {},
95+
"schemas": {},
96+
"sequences": {},
97+
"roles": {},
98+
"policies": {},
99+
"views": {},
100+
"_meta": {
101+
"columns": {},
102+
"schemas": {},
103+
"tables": {}
104+
}
105+
}

drizzle/meta/0004_snapshot.json

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"id": "2aee8837-ca7a-451c-9fa3-02172faedbd0",
3+
"prevId": "53528728-7967-459d-b52e-07421fc0a36a",
4+
"version": "7",
5+
"dialect": "postgresql",
6+
"tables": {
7+
"public.flipside_article": {
8+
"name": "flipside_article",
9+
"schema": "",
10+
"columns": {
11+
"id": {
12+
"name": "id",
13+
"type": "uuid",
14+
"primaryKey": true,
15+
"notNull": true,
16+
"default": "gen_random_uuid()"
17+
},
18+
"user_id": {
19+
"name": "user_id",
20+
"type": "text",
21+
"primaryKey": false,
22+
"notNull": true
23+
},
24+
"url": {
25+
"name": "url",
26+
"type": "text",
27+
"primaryKey": false,
28+
"notNull": true
29+
},
30+
"image_url": {
31+
"name": "image_url",
32+
"type": "text",
33+
"primaryKey": false,
34+
"notNull": false
35+
},
36+
"title": {
37+
"name": "title",
38+
"type": "text",
39+
"primaryKey": false,
40+
"notNull": true
41+
},
42+
"description": {
43+
"name": "description",
44+
"type": "text",
45+
"primaryKey": false,
46+
"notNull": false
47+
},
48+
"tags": {
49+
"name": "tags",
50+
"type": "text",
51+
"primaryKey": false,
52+
"notNull": false
53+
},
54+
"created_at": {
55+
"name": "created_at",
56+
"type": "timestamp",
57+
"primaryKey": false,
58+
"notNull": true,
59+
"default": "now()"
60+
},
61+
"updated_at": {
62+
"name": "updated_at",
63+
"type": "timestamp",
64+
"primaryKey": false,
65+
"notNull": true,
66+
"default": "now()"
67+
}
68+
},
69+
"indexes": {
70+
"title_idx": {
71+
"name": "title_idx",
72+
"columns": [
73+
{
74+
"expression": "title",
75+
"isExpression": false,
76+
"asc": true,
77+
"nulls": "last"
78+
}
79+
],
80+
"isUnique": false,
81+
"concurrently": false,
82+
"method": "btree",
83+
"with": {}
84+
}
85+
},
86+
"foreignKeys": {},
87+
"compositePrimaryKeys": {},
88+
"uniqueConstraints": {},
89+
"policies": {},
90+
"checkConstraints": {},
91+
"isRLSEnabled": false
92+
}
93+
},
94+
"enums": {},
95+
"schemas": {},
96+
"sequences": {},
97+
"roles": {},
98+
"policies": {},
99+
"views": {},
100+
"_meta": {
101+
"columns": {},
102+
"schemas": {},
103+
"tables": {}
104+
}
105+
}

0 commit comments

Comments
 (0)