bholmesdev
|
aa00edea81
|
chore: expose setMeta for unit testing
|
2024-02-09 13:57:42 -05:00 |
|
Fred K. Schott
|
452a3c8581
|
prepare to run seed on all db push commands
|
2024-02-09 10:21:25 -08:00 |
|
Nate Moore
|
ed4294abbe
|
feat(db-cli): clean up CLI logging, support --json flag for astro db verify , extract shared logic to a utility
|
2024-02-09 08:51:46 -06:00 |
|
bholmesdev
|
1f719ffb6d
|
fix: remove explicit AUTOINCREMENT on int pk
|
2024-02-08 17:02:16 -05:00 |
|
bholmesdev
|
05e7e0f2dd
|
fix: add back textField multiline
|
2024-02-08 16:56:35 -05:00 |
|
itsMapleLeaf
|
f32bff3563
|
fix db URL import for windows
|
2024-02-08 14:02:04 -06:00 |
|
bholmesdev
|
2ff473572e
|
feat: prevent optional on text pk
|
2024-02-08 13:59:18 -05:00 |
|
bholmesdev
|
b29208e156
|
refactor: type false instead of type never
|
2024-02-08 13:58:46 -05:00 |
|
bholmesdev
|
6c22e8fcf1
|
feat: ignore optional and default when pk is present
|
2024-02-08 13:58:46 -05:00 |
|
bholmesdev
|
25393279c5
|
chore: todo
|
2024-02-08 13:57:47 -05:00 |
|
Matthew Phillips
|
8f7da6cc79
|
Add support for SQL defaults
You can now use sql`CURRENT_TIMESTAMP`, `NOW`, and a couple of other
helpers, to set defaults.
|
2024-02-08 13:32:56 -05:00 |
|
Fred K. Schott
|
25c09d3ef4
|
add shortcut link command from studio web ui
|
2024-02-07 23:18:57 -08:00 |
|
Fred K. Schott
|
c9ce9d2309
|
fix studio tests
|
2024-02-07 20:48:43 -08:00 |
|
Fred K. Schott
|
4c4ae2f470
|
add better token error logging
|
2024-02-07 20:05:27 -08:00 |
|
Fred K. Schott
|
39e29426aa
|
add help output
|
2024-02-07 19:51:47 -08:00 |
|
Fred K. Schott
|
4712d2be57
|
add short-lived db tokens
|
2024-02-07 19:40:23 -08:00 |
|
bholmesdev
|
3850637e19
|
fix: correctly respect primary key on INSERT INTO
|
2024-02-07 18:15:21 -05:00 |
|
bholmesdev
|
db874e508e
|
fix: add back promptResponse injection
|
2024-02-06 13:48:41 -05:00 |
|
bholmesdev
|
76721dd193
|
feat: defineData()
|
2024-02-05 17:48:28 -05:00 |
|
bholmesdev
|
37848a6bd2
|
feat: good enough return type on seed :)
|
2024-02-05 17:28:04 -05:00 |
|
bholmesdev
|
1ef45b1a09
|
chore: remove as any on seed values
|
2024-02-05 16:40:48 -05:00 |
|
bholmesdev
|
25f940fe49
|
feat: better seed() types
|
2024-02-05 16:39:38 -05:00 |
|
bholmesdev
|
37d54c7b9e
|
feat: better field.x() types
|
2024-02-05 16:36:47 -05:00 |
|
Fred K. Schott
|
1c69feecf0
|
fix bug in prompt logic
|
2024-02-04 00:44:52 -08:00 |
|
Fred K. Schott
|
54a981cd5c
|
make it more clear when remove vs. local db is in use
|
2024-02-03 22:04:39 -08:00 |
|
Fred K. Schott
|
3799970607
|
improve error messaging around studio config missing
|
2024-02-03 21:52:02 -08:00 |
|
Fred K. Schott
|
e4aca2de5f
|
improve conflict and dataloss handling
- moved prompts to db push
- moved prompt logic out of lower-level functions
- improved logic overall
- improved user-facing prompt messages
|
2024-02-03 21:03:42 -08:00 |
|
bholmesdev
|
e863632ebf
|
fix: mark data keys as optional until we have type inference
|
2024-02-02 16:08:58 -05:00 |
|
bholmesdev
|
ded1e0f0b6
|
fix: respect primaryKey from hasDefault
|
2024-02-02 16:08:43 -05:00 |
|
bholmesdev
|
cbc2b99292
|
fix: correct hasDefault inference
|
2024-02-02 15:59:20 -05:00 |
|
bholmesdev
|
5fcf4a9bd6
|
refactor: objShallowEqual -> deep diff
|
2024-02-01 18:40:23 -05:00 |
|
bholmesdev
|
06f96661af
|
chore: enable foreign keys in local mode only
|
2024-02-01 18:07:45 -05:00 |
|
bholmesdev
|
feed9ea0bd
|
chore: lint
|
2024-02-01 18:07:18 -05:00 |
|
bholmesdev
|
338a1afb5c
|
feat: add foreignkeys to create table
|
2024-02-01 17:01:35 -05:00 |
|
bholmesdev
|
a016e67a3c
|
chore: unused imports
|
2024-02-01 16:49:09 -05:00 |
|
bholmesdev
|
02e582514b
|
fix: foreignKeys references signature
|
2024-02-01 16:46:01 -05:00 |
|
bholmesdev
|
4aaf393318
|
refactor: move to arrow function signature
|
2024-02-01 16:42:31 -05:00 |
|
bholmesdev
|
b1b69e18d4
|
feat: FINALLY collection and name attached
|
2024-02-01 16:09:07 -05:00 |
|
bholmesdev
|
d0abf2c763
|
feat: API shape
|
2024-02-01 16:09:07 -05:00 |
|
bholmesdev
|
a44c20afef
|
chore: remove AstroId type
|
2024-02-01 08:07:01 -05:00 |
|
bholmesdev
|
7bd8240180
|
fix: remove id column from Table type
|
2024-02-01 08:06:20 -05:00 |
|
Nate Moore
|
587765dc4d
|
chore: disable console linting for CLI
|
2024-01-31 15:17:03 -06:00 |
|
Matthew Phillips
|
c503cd602b
|
Remove content database from the static build
|
2024-01-31 16:07:53 -05:00 |
|
Matthew Phillips
|
4e55fd0f56
|
Make work in webcontainer
|
2024-01-31 15:36:09 -05:00 |
|
Matthew Phillips
|
e0545d0cf3
|
0.1.20
|
2024-01-31 12:52:08 -05:00 |
|
Matthew Phillips
|
e8ce0ca479
|
Make the DB_URL be root relative
|
2024-01-31 08:34:20 -05:00 |
|
bholmesdev
|
c2a2e4b592
|
refactor: reorganize the rats nest of files
|
2024-01-30 17:50:03 -05:00 |
|
bholmesdev
|
3d9ff264f5
|
feat: add queries unit tests and fix related bugs
|
2024-01-30 12:55:47 -05:00 |
|
Fred K. Schott
|
69cdf029ec
|
move migration logic to turso, add back sync support
|
2024-01-30 09:14:37 -08:00 |
|
bholmesdev
|
84e5bd0830
|
feat: index migrations
|
2024-01-30 11:58:54 -05:00 |
|