( tableFrom: Table, tableTo: Table, )
| 1012 | }; |
| 1013 | |
| 1014 | export const prepareRenameTableJson = ( |
| 1015 | tableFrom: Table, |
| 1016 | tableTo: Table, |
| 1017 | ): JsonRenameTableStatement => { |
| 1018 | return { |
| 1019 | type: 'rename_table', |
| 1020 | fromSchema: tableTo.schema, |
| 1021 | toSchema: tableTo.schema, |
| 1022 | tableNameFrom: tableFrom.name, |
| 1023 | tableNameTo: tableTo.name, |
| 1024 | }; |
| 1025 | }; |
| 1026 | |
| 1027 | export const prepareCreateEnumJson = ( |
| 1028 | name: string, |
no outgoing calls
no test coverage detected