create-absolutejs 0.17.3 → 0.19.0
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.
- package/CHANGELOG.md +16 -0
- package/README.md +37 -4
- package/changelog.json +24 -0
- package/dist/commands/migrateDatabase.d.ts +6 -0
- package/dist/commands/migrateDatabase.js +53 -0
- package/dist/data.d.ts +1 -1
- package/dist/data.js +1 -1
- package/dist/generators/angular/generateAngularPage.d.ts +5 -6
- package/dist/generators/angular/generateAngularPage.js +16 -33
- package/dist/generators/angular/scaffoldAngular.d.ts +1 -1
- package/dist/generators/angular/scaffoldAngular.js +8 -9
- package/dist/generators/configurations/generateDrizzleConfig.d.ts +5 -3
- package/dist/generators/configurations/generateDrizzleConfig.js +40 -14
- package/dist/generators/configurations/generateEnv.js +6 -0
- package/dist/generators/configurations/generateEslintConfig.js +4 -2
- package/dist/generators/configurations/generatePackageJson.js +33 -6
- package/dist/generators/db/drizzleTargets.d.ts +5 -0
- package/dist/generators/db/drizzleTargets.js +27 -0
- package/dist/generators/db/generateDatabaseTypes.js +21 -24
- package/dist/generators/db/generateDockerContainer.d.ts +5 -0
- package/dist/generators/db/generateDockerContainer.js +22 -4
- package/dist/generators/db/generateDrizzleSchema.js +65 -77
- package/dist/generators/db/generateHandlers.js +3 -2
- package/dist/generators/db/generateRelationalSchema.d.ts +1 -1
- package/dist/generators/db/generateRelationalSchema.js +1 -1
- package/dist/generators/db/handlerTemplates.d.ts +11 -5
- package/dist/generators/db/handlerTemplates.js +14 -12
- package/dist/generators/db/scaffoldDatabase.d.ts +2 -1
- package/dist/generators/db/scaffoldDatabase.js +25 -10
- package/dist/generators/db/scaffoldDocker.d.ts +3 -1
- package/dist/generators/db/scaffoldDocker.js +11 -5
- package/dist/generators/htmx/scaffoldHTMX.js +1 -0
- package/dist/generators/project/generateAbsoluteAuthConfig.d.ts +1 -1
- package/dist/generators/project/generateAbsoluteAuthConfig.js +11 -10
- package/dist/generators/project/generateDBBlock.js +16 -7
- package/dist/generators/project/generateIdentity.d.ts +1 -0
- package/dist/generators/project/generateIdentity.js +15 -0
- package/dist/generators/project/generateImportsBlock.js +15 -15
- package/dist/generators/project/generateRoutesBlock.d.ts +2 -1
- package/dist/generators/project/generateRoutesBlock.js +8 -13
- package/dist/generators/project/generateServer.js +26 -16
- package/dist/generators/project/scaffoldAgentic.d.ts +1 -1
- package/dist/generators/project/scaffoldAgentic.js +45 -45
- package/dist/generators/project/scaffoldBackend.js +4 -9
- package/dist/generators/react/scaffoldReact.js +2 -2
- package/dist/index.js +2 -1
- package/dist/messages.d.ts +2 -1
- package/dist/messages.js +2 -1
- package/dist/prompt.js +3 -2
- package/dist/questions/authOption.js +4 -1
- package/dist/questions/databaseEngine.d.ts +1 -1
- package/dist/questions/orm.js +2 -5
- package/dist/scaffold.d.ts +3 -1
- package/dist/scaffold.js +33 -4
- package/dist/templates/configurations/eslint.config.example.mjs +81 -41
- package/dist/templates/db/migrations/cockroach-count-history/20260926210314_init/migration.sql +5 -0
- package/dist/templates/db/migrations/cockroach-count-history/20260926210314_init/snapshot.json +69 -0
- package/dist/templates/db/migrations/cockroach-users/20260926210315_init/migration.sql +5 -0
- package/dist/templates/db/migrations/cockroach-users/20260926210315_init/snapshot.json +62 -0
- package/dist/templates/db/migrations/mssql-count-history/20260926210316_init/migration.sql +6 -0
- package/dist/templates/db/migrations/mssql-count-history/20260926210316_init/snapshot.json +64 -0
- package/dist/templates/db/migrations/mssql-users/20260926210317_init/migration.sql +6 -0
- package/dist/templates/db/migrations/mssql-users/20260926210317_init/snapshot.json +70 -0
- package/dist/templates/db/migrations/mysql-count-history/20260926210318_init/migration.sql +5 -0
- package/dist/templates/db/migrations/mysql-count-history/20260926210318_init/snapshot.json +61 -0
- package/dist/templates/db/migrations/mysql-users/20260926210319_init/migration.sql +5 -0
- package/dist/templates/db/migrations/mysql-users/20260926210319_init/snapshot.json +61 -0
- package/dist/templates/db/migrations/postgresql-count-history/20260926210320_init/migration.sql +5 -0
- package/dist/templates/db/migrations/postgresql-count-history/20260926210320_init/snapshot.json +71 -0
- package/dist/templates/db/migrations/postgresql-users/20260926210320_init/migration.sql +5 -0
- package/dist/templates/db/migrations/postgresql-users/20260926210320_init/snapshot.json +62 -0
- package/dist/templates/db/migrations/singlestore-count-history/20260926210321_init/migration.sql +5 -0
- package/dist/templates/db/migrations/singlestore-count-history/20260926210321_init/snapshot.json +61 -0
- package/dist/templates/db/migrations/singlestore-users/20260926210322_init/migration.sql +5 -0
- package/dist/templates/db/migrations/singlestore-users/20260926210322_init/snapshot.json +61 -0
- package/dist/templates/db/migrations/sqlite-count-history/20260926210323_init/migration.sql +5 -0
- package/dist/templates/db/migrations/sqlite-count-history/20260926210323_init/snapshot.json +50 -0
- package/dist/templates/db/migrations/sqlite-users/20260926210324_init/migration.sql +5 -0
- package/dist/templates/db/migrations/sqlite-users/20260926210324_init/snapshot.json +50 -0
- package/dist/templates/db/migrations/turso-count-history/20260926210324_init/migration.sql +5 -0
- package/dist/templates/db/migrations/turso-count-history/20260926210324_init/snapshot.json +50 -0
- package/dist/templates/db/migrations/turso-users/20260926210325_init/migration.sql +5 -0
- package/dist/templates/db/migrations/turso-users/20260926210325_init/snapshot.json +50 -0
- package/dist/templates/git/gitignore +0 -3
- package/dist/templates/htmx/LICENSE +13 -0
- package/dist/templates/htmx/htmx.2.0.11.min.js +1 -0
- package/dist/typeGuards.js +2 -2
- package/dist/utils/abort.d.ts +1 -1
- package/dist/utils/abort.js +2 -4
- package/dist/utils/getPackageVersion.js +7 -2
- package/dist/utils/parseCommandLineOptions.js +17 -34
- package/dist/utils/registryChannel.d.ts +2 -0
- package/dist/utils/registryChannel.js +20 -0
- package/dist/utils/validateDatabaseSelection.d.ts +11 -0
- package/dist/utils/validateDatabaseSelection.js +31 -0
- package/dist/versions.d.ts +66 -65
- package/dist/versions.js +66 -65
- package/package.json +27 -22
- package/dist/templates/configurations/drizzle.config.ts +0 -13
- package/dist/templates/htmx/htmx.2.0.6.min.js +0 -1
package/dist/templates/db/migrations/postgresql-count-history/20260926210320_init/snapshot.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "8",
|
|
3
|
+
"dialect": "postgres",
|
|
4
|
+
"id": "5a337cba-4b12-418c-b4fe-ae38fdc5ba8a",
|
|
5
|
+
"prevIds": ["00000000-0000-0000-0000-000000000000"],
|
|
6
|
+
"ddl": [
|
|
7
|
+
{
|
|
8
|
+
"isRlsEnabled": false,
|
|
9
|
+
"name": "count_history",
|
|
10
|
+
"entityType": "tables",
|
|
11
|
+
"schema": "public"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "integer",
|
|
15
|
+
"typeSchema": null,
|
|
16
|
+
"notNull": true,
|
|
17
|
+
"dimensions": 0,
|
|
18
|
+
"default": null,
|
|
19
|
+
"generated": null,
|
|
20
|
+
"identity": {
|
|
21
|
+
"type": "always",
|
|
22
|
+
"name": "count_history_uid_seq",
|
|
23
|
+
"increment": "1",
|
|
24
|
+
"startWith": "1",
|
|
25
|
+
"minValue": "1",
|
|
26
|
+
"maxValue": "2147483647",
|
|
27
|
+
"cache": 1,
|
|
28
|
+
"cycle": false
|
|
29
|
+
},
|
|
30
|
+
"name": "uid",
|
|
31
|
+
"entityType": "columns",
|
|
32
|
+
"schema": "public",
|
|
33
|
+
"table": "count_history"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "integer",
|
|
37
|
+
"typeSchema": null,
|
|
38
|
+
"notNull": true,
|
|
39
|
+
"dimensions": 0,
|
|
40
|
+
"default": null,
|
|
41
|
+
"generated": null,
|
|
42
|
+
"identity": null,
|
|
43
|
+
"name": "count",
|
|
44
|
+
"entityType": "columns",
|
|
45
|
+
"schema": "public",
|
|
46
|
+
"table": "count_history"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "timestamp",
|
|
50
|
+
"typeSchema": null,
|
|
51
|
+
"notNull": true,
|
|
52
|
+
"dimensions": 0,
|
|
53
|
+
"default": "now()",
|
|
54
|
+
"generated": null,
|
|
55
|
+
"identity": null,
|
|
56
|
+
"name": "created_at",
|
|
57
|
+
"entityType": "columns",
|
|
58
|
+
"schema": "public",
|
|
59
|
+
"table": "count_history"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"columns": ["uid"],
|
|
63
|
+
"nameExplicit": false,
|
|
64
|
+
"name": "count_history_pkey",
|
|
65
|
+
"schema": "public",
|
|
66
|
+
"table": "count_history",
|
|
67
|
+
"entityType": "pks"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"renames": []
|
|
71
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "8",
|
|
3
|
+
"dialect": "postgres",
|
|
4
|
+
"id": "9d194a19-609c-4f6f-8d0e-fe03ad5d72d7",
|
|
5
|
+
"prevIds": ["00000000-0000-0000-0000-000000000000"],
|
|
6
|
+
"ddl": [
|
|
7
|
+
{
|
|
8
|
+
"isRlsEnabled": false,
|
|
9
|
+
"name": "users",
|
|
10
|
+
"entityType": "tables",
|
|
11
|
+
"schema": "public"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "varchar(255)",
|
|
15
|
+
"typeSchema": null,
|
|
16
|
+
"notNull": true,
|
|
17
|
+
"dimensions": 0,
|
|
18
|
+
"default": null,
|
|
19
|
+
"generated": null,
|
|
20
|
+
"identity": null,
|
|
21
|
+
"name": "auth_sub",
|
|
22
|
+
"entityType": "columns",
|
|
23
|
+
"schema": "public",
|
|
24
|
+
"table": "users"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "timestamp",
|
|
28
|
+
"typeSchema": null,
|
|
29
|
+
"notNull": true,
|
|
30
|
+
"dimensions": 0,
|
|
31
|
+
"default": "now()",
|
|
32
|
+
"generated": null,
|
|
33
|
+
"identity": null,
|
|
34
|
+
"name": "created_at",
|
|
35
|
+
"entityType": "columns",
|
|
36
|
+
"schema": "public",
|
|
37
|
+
"table": "users"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "jsonb",
|
|
41
|
+
"typeSchema": null,
|
|
42
|
+
"notNull": false,
|
|
43
|
+
"dimensions": 0,
|
|
44
|
+
"default": "'{}'",
|
|
45
|
+
"generated": null,
|
|
46
|
+
"identity": null,
|
|
47
|
+
"name": "metadata",
|
|
48
|
+
"entityType": "columns",
|
|
49
|
+
"schema": "public",
|
|
50
|
+
"table": "users"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"columns": ["auth_sub"],
|
|
54
|
+
"nameExplicit": false,
|
|
55
|
+
"name": "users_pkey",
|
|
56
|
+
"schema": "public",
|
|
57
|
+
"table": "users",
|
|
58
|
+
"entityType": "pks"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"renames": []
|
|
62
|
+
}
|
package/dist/templates/db/migrations/singlestore-count-history/20260926210321_init/snapshot.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2",
|
|
3
|
+
"dialect": "singlestore",
|
|
4
|
+
"id": "d815e1ce-94b0-4fb1-8829-97431461c2b8",
|
|
5
|
+
"prevIds": ["00000000-0000-0000-0000-000000000000"],
|
|
6
|
+
"ddl": [
|
|
7
|
+
{
|
|
8
|
+
"name": "count_history",
|
|
9
|
+
"entityType": "tables"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "int",
|
|
13
|
+
"notNull": true,
|
|
14
|
+
"autoIncrement": true,
|
|
15
|
+
"default": null,
|
|
16
|
+
"onUpdateNow": false,
|
|
17
|
+
"onUpdateNowFsp": null,
|
|
18
|
+
"charSet": null,
|
|
19
|
+
"collation": null,
|
|
20
|
+
"generated": null,
|
|
21
|
+
"name": "uid",
|
|
22
|
+
"entityType": "columns",
|
|
23
|
+
"table": "count_history"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "int",
|
|
27
|
+
"notNull": true,
|
|
28
|
+
"autoIncrement": false,
|
|
29
|
+
"default": null,
|
|
30
|
+
"onUpdateNow": false,
|
|
31
|
+
"onUpdateNowFsp": null,
|
|
32
|
+
"charSet": null,
|
|
33
|
+
"collation": null,
|
|
34
|
+
"generated": null,
|
|
35
|
+
"name": "count",
|
|
36
|
+
"entityType": "columns",
|
|
37
|
+
"table": "count_history"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "timestamp",
|
|
41
|
+
"notNull": true,
|
|
42
|
+
"autoIncrement": false,
|
|
43
|
+
"default": "CURRENT_TIMESTAMP",
|
|
44
|
+
"onUpdateNow": false,
|
|
45
|
+
"onUpdateNowFsp": null,
|
|
46
|
+
"charSet": null,
|
|
47
|
+
"collation": null,
|
|
48
|
+
"generated": null,
|
|
49
|
+
"name": "created_at",
|
|
50
|
+
"entityType": "columns",
|
|
51
|
+
"table": "count_history"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"columns": ["uid"],
|
|
55
|
+
"name": "PRIMARY",
|
|
56
|
+
"table": "count_history",
|
|
57
|
+
"entityType": "pks"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"renames": []
|
|
61
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2",
|
|
3
|
+
"dialect": "singlestore",
|
|
4
|
+
"id": "c077064e-71dd-4939-9b88-0f3c07d67857",
|
|
5
|
+
"prevIds": ["00000000-0000-0000-0000-000000000000"],
|
|
6
|
+
"ddl": [
|
|
7
|
+
{
|
|
8
|
+
"name": "users",
|
|
9
|
+
"entityType": "tables"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "varchar(255)",
|
|
13
|
+
"notNull": true,
|
|
14
|
+
"autoIncrement": false,
|
|
15
|
+
"default": null,
|
|
16
|
+
"onUpdateNow": false,
|
|
17
|
+
"onUpdateNowFsp": null,
|
|
18
|
+
"charSet": null,
|
|
19
|
+
"collation": null,
|
|
20
|
+
"generated": null,
|
|
21
|
+
"name": "auth_sub",
|
|
22
|
+
"entityType": "columns",
|
|
23
|
+
"table": "users"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "timestamp",
|
|
27
|
+
"notNull": true,
|
|
28
|
+
"autoIncrement": false,
|
|
29
|
+
"default": "CURRENT_TIMESTAMP",
|
|
30
|
+
"onUpdateNow": false,
|
|
31
|
+
"onUpdateNowFsp": null,
|
|
32
|
+
"charSet": null,
|
|
33
|
+
"collation": null,
|
|
34
|
+
"generated": null,
|
|
35
|
+
"name": "created_at",
|
|
36
|
+
"entityType": "columns",
|
|
37
|
+
"table": "users"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "json",
|
|
41
|
+
"notNull": false,
|
|
42
|
+
"autoIncrement": false,
|
|
43
|
+
"default": "'{}'",
|
|
44
|
+
"onUpdateNow": false,
|
|
45
|
+
"onUpdateNowFsp": null,
|
|
46
|
+
"charSet": null,
|
|
47
|
+
"collation": null,
|
|
48
|
+
"generated": null,
|
|
49
|
+
"name": "metadata",
|
|
50
|
+
"entityType": "columns",
|
|
51
|
+
"table": "users"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"columns": ["auth_sub"],
|
|
55
|
+
"name": "PRIMARY",
|
|
56
|
+
"table": "users",
|
|
57
|
+
"entityType": "pks"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"renames": []
|
|
61
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "6622a331-77bf-4d4e-88f4-49c5160639c6",
|
|
5
|
+
"prevIds": ["00000000-0000-0000-0000-000000000000"],
|
|
6
|
+
"ddl": [
|
|
7
|
+
{
|
|
8
|
+
"name": "count_history",
|
|
9
|
+
"entityType": "tables"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"notNull": false,
|
|
14
|
+
"autoincrement": true,
|
|
15
|
+
"default": null,
|
|
16
|
+
"generated": null,
|
|
17
|
+
"name": "uid",
|
|
18
|
+
"entityType": "columns",
|
|
19
|
+
"table": "count_history"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"notNull": true,
|
|
24
|
+
"autoincrement": false,
|
|
25
|
+
"default": null,
|
|
26
|
+
"generated": null,
|
|
27
|
+
"name": "count",
|
|
28
|
+
"entityType": "columns",
|
|
29
|
+
"table": "count_history"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"notNull": true,
|
|
34
|
+
"autoincrement": false,
|
|
35
|
+
"default": "((julianday('now') - 2440587.5) * 86400000)",
|
|
36
|
+
"generated": null,
|
|
37
|
+
"name": "created_at",
|
|
38
|
+
"entityType": "columns",
|
|
39
|
+
"table": "count_history"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"columns": ["uid"],
|
|
43
|
+
"nameExplicit": false,
|
|
44
|
+
"name": "count_history_pk",
|
|
45
|
+
"table": "count_history",
|
|
46
|
+
"entityType": "pks"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"renames": []
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "7f63cb6e-0782-48bf-afbe-2487419620f0",
|
|
5
|
+
"prevIds": ["00000000-0000-0000-0000-000000000000"],
|
|
6
|
+
"ddl": [
|
|
7
|
+
{
|
|
8
|
+
"name": "users",
|
|
9
|
+
"entityType": "tables"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "text",
|
|
13
|
+
"notNull": false,
|
|
14
|
+
"autoincrement": false,
|
|
15
|
+
"default": null,
|
|
16
|
+
"generated": null,
|
|
17
|
+
"name": "auth_sub",
|
|
18
|
+
"entityType": "columns",
|
|
19
|
+
"table": "users"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"notNull": true,
|
|
24
|
+
"autoincrement": false,
|
|
25
|
+
"default": "((julianday('now') - 2440587.5) * 86400000)",
|
|
26
|
+
"generated": null,
|
|
27
|
+
"name": "created_at",
|
|
28
|
+
"entityType": "columns",
|
|
29
|
+
"table": "users"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "text",
|
|
33
|
+
"notNull": false,
|
|
34
|
+
"autoincrement": false,
|
|
35
|
+
"default": "'{}'",
|
|
36
|
+
"generated": null,
|
|
37
|
+
"name": "metadata",
|
|
38
|
+
"entityType": "columns",
|
|
39
|
+
"table": "users"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"columns": ["auth_sub"],
|
|
43
|
+
"nameExplicit": false,
|
|
44
|
+
"name": "users_pk",
|
|
45
|
+
"table": "users",
|
|
46
|
+
"entityType": "pks"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"renames": []
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "1d80fd4a-732f-4fd7-b39b-2e83811d8795",
|
|
5
|
+
"prevIds": ["00000000-0000-0000-0000-000000000000"],
|
|
6
|
+
"ddl": [
|
|
7
|
+
{
|
|
8
|
+
"name": "count_history",
|
|
9
|
+
"entityType": "tables"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"notNull": false,
|
|
14
|
+
"autoincrement": true,
|
|
15
|
+
"default": null,
|
|
16
|
+
"generated": null,
|
|
17
|
+
"name": "uid",
|
|
18
|
+
"entityType": "columns",
|
|
19
|
+
"table": "count_history"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"notNull": true,
|
|
24
|
+
"autoincrement": false,
|
|
25
|
+
"default": null,
|
|
26
|
+
"generated": null,
|
|
27
|
+
"name": "count",
|
|
28
|
+
"entityType": "columns",
|
|
29
|
+
"table": "count_history"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"notNull": true,
|
|
34
|
+
"autoincrement": false,
|
|
35
|
+
"default": "((julianday('now') - 2440587.5) * 86400000)",
|
|
36
|
+
"generated": null,
|
|
37
|
+
"name": "created_at",
|
|
38
|
+
"entityType": "columns",
|
|
39
|
+
"table": "count_history"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"columns": ["uid"],
|
|
43
|
+
"nameExplicit": false,
|
|
44
|
+
"name": "count_history_pk",
|
|
45
|
+
"table": "count_history",
|
|
46
|
+
"entityType": "pks"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"renames": []
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "7334265f-6de3-4ba2-a99c-55a6ee3fc67f",
|
|
5
|
+
"prevIds": ["00000000-0000-0000-0000-000000000000"],
|
|
6
|
+
"ddl": [
|
|
7
|
+
{
|
|
8
|
+
"name": "users",
|
|
9
|
+
"entityType": "tables"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "text",
|
|
13
|
+
"notNull": false,
|
|
14
|
+
"autoincrement": false,
|
|
15
|
+
"default": null,
|
|
16
|
+
"generated": null,
|
|
17
|
+
"name": "auth_sub",
|
|
18
|
+
"entityType": "columns",
|
|
19
|
+
"table": "users"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"notNull": true,
|
|
24
|
+
"autoincrement": false,
|
|
25
|
+
"default": "((julianday('now') - 2440587.5) * 86400000)",
|
|
26
|
+
"generated": null,
|
|
27
|
+
"name": "created_at",
|
|
28
|
+
"entityType": "columns",
|
|
29
|
+
"table": "users"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "text",
|
|
33
|
+
"notNull": false,
|
|
34
|
+
"autoincrement": false,
|
|
35
|
+
"default": "'{}'",
|
|
36
|
+
"generated": null,
|
|
37
|
+
"name": "metadata",
|
|
38
|
+
"entityType": "columns",
|
|
39
|
+
"table": "users"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"columns": ["auth_sub"],
|
|
43
|
+
"nameExplicit": false,
|
|
44
|
+
"name": "users_pk",
|
|
45
|
+
"table": "users",
|
|
46
|
+
"entityType": "pks"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"renames": []
|
|
50
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Zero-Clause BSD
|
|
2
|
+
=============
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for
|
|
5
|
+
any purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
|
|
8
|
+
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
|
9
|
+
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
|
|
10
|
+
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
|
|
11
|
+
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
|
12
|
+
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
13
|
+
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|