You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% migrate -path db/migrations -database "spanner://projects/abc/instances/def/databases/testdb" downAre you sure you want to drop the entire database schema? [y/N]yDropping the entire database schemaerror: rpc error: code = InvalidArgument desc = ROW DELETION POLICY will break if drop/alter column named CreatedAt in table Orders. Row Deletion Policy must be set on column of type TIMESTAMP. in line 0: DROP TABLE Orders; DROP TABLE SchemaMigrations
Describe the solution you'd like
Drop row deletion policy before dropping table which has row deletion policy.
Describe alternatives you've considered
Drop row deletion policy manually.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, dropping will fail if spanner database has table with row deletion policy.
DDL:
Attempts to drop fail as follows:
Describe the solution you'd like
Drop row deletion policy before dropping table which has row deletion policy.
Describe alternatives you've considered
Drop row deletion policy manually.
The text was updated successfully, but these errors were encountered: