|
1 | 1 | clispec: '001' |
2 | 2 | info: |
3 | 3 | id: cli |
4 | | - version: 2.24.3 |
| 4 | + version: 2.26.9 |
5 | 5 | title: Supabase CLI |
6 | 6 | language: sh |
7 | 7 | source: https://github.com/supabase/cli |
@@ -1366,6 +1366,7 @@ commands: |
1366 | 1366 | - local-dev |
1367 | 1367 | links: [] |
1368 | 1368 | subcommands: |
| 1369 | + - supabase-migration-down |
1369 | 1370 | - supabase-migration-fetch |
1370 | 1371 | - supabase-migration-list |
1371 | 1372 | - supabase-migration-new |
@@ -1644,6 +1645,31 @@ commands: |
1644 | 1645 | name: --local |
1645 | 1646 | description: Fetches migration history from the local database. |
1646 | 1647 | default_value: 'false' |
| 1648 | + - id: supabase-migration-down |
| 1649 | + title: supabase migration down |
| 1650 | + summary: Resets applied migrations up to the last n versions |
| 1651 | + tags: [] |
| 1652 | + links: [] |
| 1653 | + usage: supabase migration down [flags] |
| 1654 | + subcommands: [] |
| 1655 | + flags: |
| 1656 | + - id: db-url |
| 1657 | + name: --db-url <string> |
| 1658 | + description: | |
| 1659 | + Resets applied migrations on the database specified by the connection string (must be percent-encoded). |
| 1660 | + default_value: '' |
| 1661 | + - id: last |
| 1662 | + name: --last <uint> |
| 1663 | + description: Reset up to the last n migration versions. |
| 1664 | + default_value: '1' |
| 1665 | + - id: linked |
| 1666 | + name: --linked |
| 1667 | + description: Resets applied migrations on the linked project. |
| 1668 | + default_value: 'false' |
| 1669 | + - id: local |
| 1670 | + name: --local |
| 1671 | + description: Resets applied migrations on the local database. |
| 1672 | + default_value: 'true' |
1647 | 1673 | - id: supabase-logout |
1648 | 1674 | title: supabase logout |
1649 | 1675 | summary: Log out and delete access tokens locally |
@@ -3016,6 +3042,10 @@ commands: |
3016 | 3042 | description: | |
3017 | 3043 | Resets the database specified by the connection string (must be percent-encoded). |
3018 | 3044 | default_value: '' |
| 3045 | + - id: last |
| 3046 | + name: --last <uint> |
| 3047 | + description: Reset up to the last n migration versions. |
| 3048 | + default_value: '0' |
3019 | 3049 | - id: linked |
3020 | 3050 | name: --linked |
3021 | 3051 | description: Resets the linked project with local migrations. |
@@ -3876,3 +3906,41 @@ commands: |
3876 | 3906 | name: -p, --password <string> |
3877 | 3907 | description: Password to your remote Postgres database. |
3878 | 3908 | default_value: '' |
| 3909 | + - id: supabase-backups |
| 3910 | + title: supabase backups |
| 3911 | + summary: Manage Supabase physical backups |
| 3912 | + tags: |
| 3913 | + - management-api |
| 3914 | + links: [] |
| 3915 | + subcommands: |
| 3916 | + - supabase-backups-list |
| 3917 | + - supabase-backups-restore |
| 3918 | + flags: [] |
| 3919 | + - id: supabase-backups-restore |
| 3920 | + title: supabase backups restore |
| 3921 | + summary: Restore to a specific timestamp using PITR |
| 3922 | + tags: [] |
| 3923 | + links: [] |
| 3924 | + usage: supabase backups restore [flags] |
| 3925 | + subcommands: [] |
| 3926 | + flags: |
| 3927 | + - id: timestamp |
| 3928 | + name: -t, --timestamp <int> |
| 3929 | + description: The recovery time target in seconds since epoch. |
| 3930 | + default_value: '0' |
| 3931 | + - id: project-ref |
| 3932 | + name: --project-ref <string> |
| 3933 | + description: Project ref of the Supabase project. |
| 3934 | + default_value: '' |
| 3935 | + - id: supabase-backups-list |
| 3936 | + title: supabase backups list |
| 3937 | + summary: Lists available physical backups |
| 3938 | + tags: [] |
| 3939 | + links: [] |
| 3940 | + usage: supabase backups list |
| 3941 | + subcommands: [] |
| 3942 | + flags: |
| 3943 | + - id: project-ref |
| 3944 | + name: --project-ref <string> |
| 3945 | + description: Project ref of the Supabase project. |
| 3946 | + default_value: '' |
0 commit comments