Skip to content

Conversation

@gfx
Copy link
Collaborator

@gfx gfx commented Sep 26, 2025

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2025

SQLDef Migration Preview

This migration was generated by sqlite3def 3.0.3 (4a02a60) using the schema file examples/sqlite3def-desired.sql.

-- 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.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2025

SQLDef Migration Preview

This migration was generated by psqldef 3.0.3 (4a02a60) using the schema file examples/psqldef-desired.sql.

-- 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.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2025

SQLDef Migration Preview

This migration was generated by mysqldef 3.0.3 (4a02a60) using the schema file examples/mysqldef-desired.sql.

-- 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.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2025

SQLDef Migration Preview

This migration was generated by mssqldef 3.0.3 (4a02a60) using the schema file examples/mssqldef-desired.sql.

-- 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.

gfx added 2 commits September 26, 2025 20:40
The Setup MSSQL database step appears redundant - testing if the action can handle database creation itself
Instead of installing sqlcmd tools on the runner, use docker exec to run sqlcmd from within the container itself. This is much simpler and faster.
@gfx gfx merged commit a5daa8b into main Sep 26, 2025
5 checks passed
@gfx gfx deleted the gfx/mssql-init branch September 26, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants