Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[LICENSE]
trim_trailing_whitespace = false
insert_final_newline = false

[**/migrations/**/*.sql]
insert_final_newline = false
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"local>oxidecomputer/renovate-config//rust/autocreate",
"helpers:pinGitHubActionDigests"
]
}
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

key.json

.flox/
.flox/
2 changes: 1 addition & 1 deletion .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ header:
paths:
- '**/*.rs'

comment: on-failure
comment: on-failure
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ an internal tool for Oxide, so we can't guarantee that PRs will be integrated.
## License

Unless otherwise noted, all components are licensed under the
[Mozilla Public License Version 2.0](LICENSE).
[Mozilla Public License Version 2.0](LICENSE).
2 changes: 1 addition & 1 deletion v-model/migrations/2024-01-23-181854_oauth_client/down.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DROP TABLE oauth_client_redirect_uri;
DROP TABLE oauth_client_secret;
DROP TABLE oauth_client;
DROP TABLE oauth_client;
2 changes: 1 addition & 1 deletion v-model/migrations/2024-01-23-181854_oauth_client/up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ CREATE TABLE oauth_client_redirect_uri(
redirect_uri VARCHAR NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
deleted_at TIMESTAMPTZ
);
);
2 changes: 1 addition & 1 deletion v-model/migrations/2024-01-23-181913_access_group/down.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ALTER TABLE api_user DROP COLUMN groups;
DROP TABLE access_groups;
DROP TABLE access_groups;
2 changes: 1 addition & 1 deletion v-model/migrations/2024-01-23-181913_access_group/up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ CREATE TABLE access_groups (
);
SELECT diesel_manage_updated_at('access_groups');

ALTER TABLE api_user ADD COLUMN groups UUID[] NOT NULL DEFAULT ARRAY[]::UUID[];
ALTER TABLE api_user ADD COLUMN groups UUID[] NOT NULL DEFAULT ARRAY[]::UUID[];
2 changes: 1 addition & 1 deletion v-model/migrations/2024-01-23-182113_mappers/down.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DROP TABLE mapper;
DROP TABLE mapper;
2 changes: 1 addition & 1 deletion v-model/migrations/2024-01-23-182531_link_request/down.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DROP TABLE link_request;
DROP TABLE link_request;
2 changes: 1 addition & 1 deletion v-model/migrations/2024-01-23-182531_link_request/up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ CREATE TABLE link_request (
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
expires_at TIMESTAMPTZ NOT NULL,
completed_at TIMESTAMPTZ
);
);
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ALTER TABLE api_user_provider DROP COLUMN display_names;
ALTER TABLE api_user_provider DROP COLUMN display_names;
Loading