0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
Commit graph

7365 commits

Author SHA1 Message Date
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
92d7d84e6b fix: use schema.parse to resolve dates 2024-02-06 13:55:20 -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
95140bc64c fix: correct type Config reference 2024-02-02 16:08:31 -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
Matthew Phillips
1b2941c909 0.2.2 2024-02-01 11:50:47 -05:00
Nate Moore
1421ebd449 add keywords 2024-02-01 10:48:48 -06:00
Matthew Phillips
94646fd41e 0.2.1 2024-02-01 08:37:41 -05:00
Matthew Phillips
295a91e510 0.2.0 2024-02-01 08:33:07 -05:00
bholmesdev
656b0c2f94 fix(ex): add id col to ticketing 2024-02-01 08:09:37 -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
bholmesdev
33d0e5b2ab chore: remove optional: true from pk 2024-01-31 16:13:28 -05:00
Matthew Phillips
15cd141261 0.1.23 2024-01-31 16:08:22 -05:00
Matthew Phillips
c503cd602b Remove content database from the static build 2024-01-31 16:07:53 -05:00
Matthew Phillips
1e21aeee13 0.1.22 2024-01-31 15:42:02 -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
396a7205ed 0.1.19 2024-01-31 10:51:27 -05:00
Matthew Phillips
82c69ceef4 Upgrade to latest libsql 2024-01-31 10:48:54 -05:00