diff options
Diffstat (limited to '.zed/tasks.json')
| -rw-r--r-- | .zed/tasks.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.zed/tasks.json b/.zed/tasks.json index 4648b2c..e725a43 100644 --- a/.zed/tasks.json +++ b/.zed/tasks.json | |||
| @@ -1,5 +1,37 @@ | |||
| 1 | [ | 1 | [ |
| 2 | { | 2 | { |
| 3 | "label": "Run migrations", | ||
| 4 | "command": "sea-orm-cli", | ||
| 5 | "args": ["migrate", "up"], | ||
| 6 | |||
| 7 | "env": { | ||
| 8 | "DATABASE_URL": "postgres://itmo_queue:itmo_queue@localhost/itmo_queue" | ||
| 9 | }, | ||
| 10 | |||
| 11 | "use_new_terminal": false, | ||
| 12 | "allow_concurrent_runs": false, | ||
| 13 | "reveal": "no_focus", | ||
| 14 | "reveal_target": "dock", | ||
| 15 | "hide": "never", | ||
| 16 | "shell": "system" | ||
| 17 | }, | ||
| 18 | { | ||
| 19 | "label": "Generate entity files", | ||
| 20 | "command": "sea-orm-cli", | ||
| 21 | "args": ["generate", "entity", "--lib", "--ignore-tables", "migrations", "-o", "entity/src/"], | ||
| 22 | |||
| 23 | "env": { | ||
| 24 | "DATABASE_URL": "postgres://itmo_queue:itmo_queue@localhost/itmo_queue" | ||
| 25 | }, | ||
| 26 | |||
| 27 | "use_new_terminal": false, | ||
| 28 | "allow_concurrent_runs": false, | ||
| 29 | "reveal": "no_focus", | ||
| 30 | "reveal_target": "dock", | ||
| 31 | "hide": "never", | ||
| 32 | "shell": "system" | ||
| 33 | }, | ||
| 34 | { | ||
| 3 | "label": "Run release server", | 35 | "label": "Run release server", |
| 4 | "command": "cargo", | 36 | "command": "cargo", |
| 5 | "args": ["run", "-r"], | 37 | "args": ["run", "-r"], |
