Compare commits

...

11 Commits

Author SHA1 Message Date
Ruben Fiszel
b98110266d all 2025-09-02 17:37:53 +00:00
Ruben Fiszel
dcf4cd1b55 Merge branch 'main' into rf/snapshotMigrations 2025-09-02 17:01:03 +00:00
Ruben Fiszel
8cf6a81b40 all 2025-09-02 17:00:25 +00:00
Ruben Fiszel
5d09664bad Merge branch 'main' into rf/snapshotMigrations 2025-09-02 16:32:00 +00:00
Ruben Fiszel
8203026353 nit 2025-09-02 16:24:24 +00:00
Ruben Fiszel
1d560445b4 Merge branch 'main' into rf/snapshotMigrations 2025-09-02 15:50:12 +00:00
Ruben Fiszel
5b4c1e8b63 all 2025-09-01 17:10:46 +00:00
Ruben Fiszel
3d0ec3acfa Merge branch 'main' into rf/snapshotMigrations 2025-09-01 16:50:34 +00:00
Ruben Fiszel
02b900b62a all 2025-08-27 11:12:58 +00:00
Ruben Fiszel
1f9fffc3d7 Merge branch 'main' into rf/snapshotMigrations 2025-08-25 17:55:46 +00:00
Ruben Fiszel
4a8de0f26c all 2025-08-25 11:51:13 +00:00
830 changed files with 6259 additions and 90 deletions

View File

@@ -0,0 +1,20 @@
{
"db_name": "PostgreSQL",
"query": "SELECT EXISTS(SELECT 1 FROM windmill_migrations WHERE name = 'snapshot')",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "exists",
"type_info": "Bool"
}
],
"parameters": {
"Left": []
},
"nullable": [
null
]
},
"hash": "384503b43aae4f1ff086d4f37ba338ffe6e32cae693828dfed1bcf0547ced330"
}

View File

@@ -0,0 +1,12 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO windmill_migrations (name) VALUES ('snapshot')",
"describe": {
"columns": [],
"parameters": {
"Left": []
},
"nullable": []
},
"hash": "bc449c34a21c46b4946ffd657cc3190c9b99bcfe6012dccd83b5b20e620be4fb"
}

View File

@@ -0,0 +1,26 @@
{
"db_name": "PostgreSQL",
"query": "\n SELECT\n EXISTS(SELECT 1 FROM _sqlx_migrations WHERE version = 20220123221901) as \"has_first_old!\",\n EXISTS(SELECT 1 FROM windmill_migrations WHERE name = 'v2_script_lock_index') as \"has_latest_old!\"\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "has_first_old!",
"type_info": "Bool"
},
{
"ordinal": 1,
"name": "has_latest_old!",
"type_info": "Bool"
}
],
"parameters": {
"Left": []
},
"nullable": [
null,
null
]
},
"hash": "fb759b29b607a535fdc9752d9828659e96aa233a6192f450eb8fa9a521012c94"
}

View File

@@ -0,0 +1,11 @@
{
"lsp": {
"rust-analyzer": {
"initialization_options": {
"cargo": {
"features": "all"
}
}
}
}
}

View File

@@ -1,56 +0,0 @@
DO
$do$
BEGIN
CREATE ROLE windmill_user;
EXCEPTION WHEN OTHERS THEN
RAISE NOTICE 'error creating the windmill_user role: %', SQLERRM;
END
$do$;
DO
$do$
BEGIN
GRANT ALL
ON ALL TABLES IN SCHEMA public
TO windmill_user;
GRANT ALL PRIVILEGES
ON ALL SEQUENCES IN SCHEMA public
TO windmill_user;
ALTER DEFAULT PRIVILEGES
IN SCHEMA public
GRANT ALL ON TABLES TO windmill_user;
ALTER DEFAULT PRIVILEGES
IN SCHEMA public
GRANT ALL ON SEQUENCES TO windmill_user;
EXCEPTION WHEN OTHERS THEN
RAISE NOTICE 'error granting proper permission to windmill_user: %', SQLERRM;
END
$do$;
DO
$do$
BEGIN
CREATE ROLE windmill_admin WITH BYPASSRLS;
EXCEPTION WHEN OTHERS THEN
RAISE NOTICE 'error creating the windmill_admin role: %', SQLERRM;
END
$do$;
DO
$do$
BEGIN
GRANT windmill_user TO windmill_admin;
EXCEPTION WHEN OTHERS THEN
RAISE NOTICE 'error granting windmill_user to windmill_admin: %', SQLERRM;
END
$do$;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,56 @@
DO
$do$
BEGIN
CREATE ROLE windmill_user;
EXCEPTION WHEN OTHERS THEN
RAISE NOTICE 'error creating the windmill_user role: %', SQLERRM;
END
$do$;
DO
$do$
BEGIN
GRANT ALL
ON ALL TABLES IN SCHEMA public
TO windmill_user;
GRANT ALL PRIVILEGES
ON ALL SEQUENCES IN SCHEMA public
TO windmill_user;
ALTER DEFAULT PRIVILEGES
IN SCHEMA public
GRANT ALL ON TABLES TO windmill_user;
ALTER DEFAULT PRIVILEGES
IN SCHEMA public
GRANT ALL ON SEQUENCES TO windmill_user;
EXCEPTION WHEN OTHERS THEN
RAISE NOTICE 'error granting proper permission to windmill_user: %', SQLERRM;
END
$do$;
DO
$do$
BEGIN
CREATE ROLE windmill_admin WITH BYPASSRLS;
EXCEPTION WHEN OTHERS THEN
RAISE NOTICE 'error creating the windmill_admin role: %', SQLERRM;
END
$do$;
DO
$do$
BEGIN
GRANT windmill_user TO windmill_admin;
EXCEPTION WHEN OTHERS THEN
RAISE NOTICE 'error granting windmill_user to windmill_admin: %', SQLERRM;
END
$do$;

Some files were not shown because too many files have changed in this diff Show More