halcyon-org / kizuna

:ribbon: Connector uniting worlds unseen
0 stars 0 forks source link

feat: add ClientData adn AdminUser schema to ent #48

Closed shiron-dev closed 1 month ago

shiron-dev commented 1 month ago

--- commit logs ---

github-actions[bot] commented 1 month ago

Test coverage

:white_check_mark: All tests passed successfully.

Status Package Time Coverage
? github.com/halcyon-org/kizuna [no test files]
github.com/halcyon-org/kizuna/cmd/kizuna 0.0%
github.com/halcyon-org/kizuna/cmd/migration 0.0%
github.com/halcyon-org/kizuna/ent/adminuser 0.0%
github.com/halcyon-org/kizuna/ent/clientdata 0.0%
github.com/halcyon-org/kizuna/ent 0.0%
github.com/halcyon-org/kizuna/ent/enttest 0.0%
github.com/halcyon-org/kizuna/ent/externalinformation 0.0%
? github.com/halcyon-org/kizuna/ent/predicate [no test files]
? github.com/halcyon-org/kizuna/ent/runtime [no test files]
github.com/halcyon-org/kizuna/ent/hook 0.0%
github.com/halcyon-org/kizuna/ent/koyodata 0.0%
github.com/halcyon-org/kizuna/ent/migrate 0.0%
github.com/halcyon-org/kizuna/ent/koyoinformation 0.0%
github.com/halcyon-org/kizuna/ent/schema 0.0%
github.com/halcyon-org/kizuna/ent/schema/pulid 0.0%
github.com/halcyon-org/kizuna/gen/belifeline/models/v1 0.0%
github.com/halcyon-org/kizuna/internal/adapter/api 0.0%
github.com/halcyon-org/kizuna/internal/adapter/controller 0.0%
github.com/halcyon-org/kizuna/internal/adapter/repository/config 0.0%
github.com/halcyon-org/kizuna/gen/belifeline/v1/mainv1connect 0.0%
github.com/halcyon-org/kizuna/internal/adapter/repository/ent 0.0%
github.com/halcyon-org/kizuna/gen/belifeline/v1 0.0%
github.com/halcyon-org/kizuna/internal/di 0.0%
github.com/halcyon-org/kizuna/internal/infrastructure/ent 0.0%
github.com/halcyon-org/kizuna/internal/usecase 0.0%
github-actions[bot] commented 1 month ago

Migration dry run

migration dry run result ``` CREATE TABLE admin_users ( id character varying NOT NULL, name character varying NOT NULL, api_key character varying NOT NULL, created_at timestamptz NOT NULL, last_used_at timestamptz NOT NULL, last_updated_at timestamptz NOT NULL, PRIMARY KEY (id) ); CREATE TABLE client_data ( id character varying NOT NULL, username character varying NOT NULL, api_key character varying NOT NULL, created_at timestamptz NOT NULL, last_used_at timestamptz NOT NULL, last_updated_at timestamptz NOT NULL, PRIMARY KEY (id) ); ```