File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,23 @@ export const createDatabaseCommand = (program: BaseCommand) => {
24
24
. command ( 'db' )
25
25
. alias ( 'database' )
26
26
. description ( `Provision a production ready Postgres database with a single command` )
27
+ . addExamples ( [
28
+ 'netlify db status' ,
29
+ 'netlify db init' ,
30
+ 'netlify db init --drizzle' ,
31
+ 'netlify db init --drizzle --overwrite' ,
32
+ ] )
27
33
28
34
dbCommand
29
35
. command ( 'init' )
30
- . description ( ' Initialize a new database' )
36
+ . description ( ` Initialize a new database for the current site` )
31
37
. option ( `--drizzle` , 'Initialize basic drizzle config and schema boilerplate' )
32
38
. option ( '--no-drizzle' , 'Skips drizzle' )
33
39
. option ( '-y, --yes' , 'Skip prompts and use default values' )
34
40
. option ( '-o, --overwrite' , 'Overwrites existing files that would be created when setting up drizzle' )
35
41
. action ( init )
36
42
37
- dbCommand . command ( 'status' ) . description ( ' Check the status of the database' ) . action ( status )
43
+ dbCommand . command ( 'status' ) . description ( ` Check the status of the database` ) . action ( status )
38
44
39
45
return dbCommand
40
46
}
You can’t perform that action at this time.
0 commit comments