-
Notifications
You must be signed in to change notification settings - Fork 0
cleanup & tweaks the code #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
SQLDef Migration PreviewThis migration was generated by -- Apply --
BEGIN;
ALTER TABLE `users` ADD COLUMN `email` text NULL;
CREATE INDEX idx_users_email ON users(email);
ALTER TABLE `users` DROP COLUMN `updated_at`;
COMMIT;This comment was generated by SQLDef Preview, powered by sqldef/sqldef-preview-action. |
SQLDef Migration PreviewThis migration was generated by -- Apply --
BEGIN;
ALTER TABLE "public"."users" ADD COLUMN "email" varchar(255) NULL;
ALTER TABLE "public"."users" DROP COLUMN "updated_at";
COMMIT;
CREATE INDEX CONCURRENTLY idx_users_email ON users(email);This comment was generated by SQLDef Preview, powered by sqldef/sqldef-preview-action. |
SQLDef Migration PreviewThis migration was generated by -- Apply --
BEGIN;
ALTER TABLE `users` ADD COLUMN `email` varchar(255) NULL AFTER `username`;
CREATE INDEX idx_users_email ON users(email);
ALTER TABLE `users` DROP COLUMN `updated_at`;
COMMIT;This comment was generated by SQLDef Preview, powered by sqldef/sqldef-preview-action. |
SQLDef Migration PreviewThis migration was generated by -- Apply --
BEGIN TRANSACTION;
ALTER TABLE [dbo].[users] ADD [email] nvarchar(255) NULL;
GO
CREATE INDEX idx_users_email ON users(email);
GO
ALTER TABLE [dbo].[users] DROP COLUMN [updated_at];
GO
COMMIT TRANSACTION;This comment was generated by SQLDef Preview, powered by sqldef/sqldef-preview-action. |
No description provided.