shirube 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,25 @@
1
+ CREATE TABLE `goals` (
2
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
3
+ `title` text NOT NULL,
4
+ `done_at` text,
5
+ `deleted_at` text,
6
+ `created_at` text NOT NULL
7
+ );
8
+ --> statement-breakpoint
9
+ CREATE TABLE `reviews` (
10
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
11
+ `week` text NOT NULL,
12
+ `content` text NOT NULL,
13
+ `created_at` text NOT NULL,
14
+ `updated_at` text NOT NULL
15
+ );
16
+ --> statement-breakpoint
17
+ CREATE UNIQUE INDEX `reviews_week_unique` ON `reviews` (`week`);--> statement-breakpoint
18
+ CREATE TABLE `tasks` (
19
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
20
+ `title` text NOT NULL,
21
+ `date` text NOT NULL,
22
+ `done_at` text,
23
+ `deleted_at` text,
24
+ `created_at` text NOT NULL
25
+ );
@@ -0,0 +1,168 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "557d4be2-a491-43f1-8235-d3326d4e7ebf",
5
+ "prevId": "00000000-0000-0000-0000-000000000000",
6
+ "tables": {
7
+ "goals": {
8
+ "name": "goals",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "integer",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": true
16
+ },
17
+ "title": {
18
+ "name": "title",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "done_at": {
25
+ "name": "done_at",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": false,
29
+ "autoincrement": false
30
+ },
31
+ "deleted_at": {
32
+ "name": "deleted_at",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": false,
36
+ "autoincrement": false
37
+ },
38
+ "created_at": {
39
+ "name": "created_at",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ }
45
+ },
46
+ "indexes": {},
47
+ "foreignKeys": {},
48
+ "compositePrimaryKeys": {},
49
+ "uniqueConstraints": {},
50
+ "checkConstraints": {}
51
+ },
52
+ "reviews": {
53
+ "name": "reviews",
54
+ "columns": {
55
+ "id": {
56
+ "name": "id",
57
+ "type": "integer",
58
+ "primaryKey": true,
59
+ "notNull": true,
60
+ "autoincrement": true
61
+ },
62
+ "week": {
63
+ "name": "week",
64
+ "type": "text",
65
+ "primaryKey": false,
66
+ "notNull": true,
67
+ "autoincrement": false
68
+ },
69
+ "content": {
70
+ "name": "content",
71
+ "type": "text",
72
+ "primaryKey": false,
73
+ "notNull": true,
74
+ "autoincrement": false
75
+ },
76
+ "created_at": {
77
+ "name": "created_at",
78
+ "type": "text",
79
+ "primaryKey": false,
80
+ "notNull": true,
81
+ "autoincrement": false
82
+ },
83
+ "updated_at": {
84
+ "name": "updated_at",
85
+ "type": "text",
86
+ "primaryKey": false,
87
+ "notNull": true,
88
+ "autoincrement": false
89
+ }
90
+ },
91
+ "indexes": {
92
+ "reviews_week_unique": {
93
+ "name": "reviews_week_unique",
94
+ "columns": [
95
+ "week"
96
+ ],
97
+ "isUnique": true
98
+ }
99
+ },
100
+ "foreignKeys": {},
101
+ "compositePrimaryKeys": {},
102
+ "uniqueConstraints": {},
103
+ "checkConstraints": {}
104
+ },
105
+ "tasks": {
106
+ "name": "tasks",
107
+ "columns": {
108
+ "id": {
109
+ "name": "id",
110
+ "type": "integer",
111
+ "primaryKey": true,
112
+ "notNull": true,
113
+ "autoincrement": true
114
+ },
115
+ "title": {
116
+ "name": "title",
117
+ "type": "text",
118
+ "primaryKey": false,
119
+ "notNull": true,
120
+ "autoincrement": false
121
+ },
122
+ "date": {
123
+ "name": "date",
124
+ "type": "text",
125
+ "primaryKey": false,
126
+ "notNull": true,
127
+ "autoincrement": false
128
+ },
129
+ "done_at": {
130
+ "name": "done_at",
131
+ "type": "text",
132
+ "primaryKey": false,
133
+ "notNull": false,
134
+ "autoincrement": false
135
+ },
136
+ "deleted_at": {
137
+ "name": "deleted_at",
138
+ "type": "text",
139
+ "primaryKey": false,
140
+ "notNull": false,
141
+ "autoincrement": false
142
+ },
143
+ "created_at": {
144
+ "name": "created_at",
145
+ "type": "text",
146
+ "primaryKey": false,
147
+ "notNull": true,
148
+ "autoincrement": false
149
+ }
150
+ },
151
+ "indexes": {},
152
+ "foreignKeys": {},
153
+ "compositePrimaryKeys": {},
154
+ "uniqueConstraints": {},
155
+ "checkConstraints": {}
156
+ }
157
+ },
158
+ "views": {},
159
+ "enums": {},
160
+ "_meta": {
161
+ "schemas": {},
162
+ "tables": {},
163
+ "columns": {}
164
+ },
165
+ "internal": {
166
+ "indexes": {}
167
+ }
168
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "entries": [
5
+ {
6
+ "idx": 0,
7
+ "version": "6",
8
+ "when": 1780241228896,
9
+ "tag": "0000_late_whistler",
10
+ "breakpoints": true
11
+ }
12
+ ]
13
+ }