woodpecker/server/store/datastore/migration
Anbraten e5d5ec8b47
Use id to access orgs (#1873)
closes #1743 

fixes: setting secrets for own user namespace

- create org in database
- use orgID for org related APIs

Co-authored-by: 6543 <6543@obermui.de>
2023-07-21 19:45:32 +02:00
..
testfiles Add tests framework for storage migration (#630) 2021-12-20 16:15:21 +01:00
000_legacy_to_xorm.go Remove MSSQL specific code and cleanups (#1796) 2023-05-31 21:27:57 +02:00
001_repos_drop_fallback.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
002_repos_drop_allow_deploys_allow_tags.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
003_fix_pr_secret_event_name.go Nits Collected over last month (#595) 2021-12-11 13:15:04 +01:00
004_repos_drop_repo_counter.go Calculate build number on creation (#615) 2021-12-18 20:37:51 +01:00
005_drop_senders.go Remove senders model (#923) 2022-05-17 21:27:44 +02:00
006_log_data_type.go Remove MSSQL specific code and cleanups (#1796) 2023-05-31 21:27:57 +02:00
007_secrets_add_user.go Remove MSSQL specific code and cleanups (#1796) 2023-05-31 21:27:57 +02:00
008_lowercase_secret_names.go Rename build to pipeline in code (#1224) 2022-10-18 03:24:12 +02:00
008_recreate_agents_table.go Remove MSSQL specific code and cleanups (#1796) 2023-05-31 21:27:57 +02:00
009_rename_builds_to_pipeline.go Rename build to pipeline in code (#1224) 2022-10-18 03:24:12 +02:00
010_columns_rename_builds_to_pipeline.go Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
011_columns_rename_procs_to_steps.go Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
012_rename_remote_to_forge.go Remove MSSQL specific code and cleanups (#1796) 2023-05-31 21:27:57 +02:00
013_rename_forge_id_to_forge_remote_id.go Fix linter (#1647) 2023-03-18 20:35:27 +01:00
014_remove_active_from_users.go Add users UI for admins (#1634) 2023-03-18 21:21:20 +01:00
015_remove_inactive_repos.go Do not store inactive repos (#1658) 2023-03-21 23:01:59 +01:00
016_remove_files_table.go Remove unused file system api (#1791) 2023-05-31 18:03:03 +02:00
017_remove_machine_col.go Database migrations run in seperate sessions and commit on success right away (#1822) 2023-06-06 03:27:17 +02:00
018_drop_old_cols.go Drop old columns (#1838) 2023-06-07 19:22:44 +02:00
019_alter_logs_table.go logs table migration: skip on corrupted json and fail later (#1856) 2023-06-13 12:50:11 +03:00
020_parent_steps_to_workflows.go Adjust model database type mapping (#1949) 2023-07-08 20:09:53 +02:00
021_add_orgs.go Use id to access orgs (#1873) 2023-07-21 19:45:32 +02:00
common.go Remove MSSQL specific code and cleanups (#1796) 2023-05-31 21:27:57 +02:00
common_test.go fix sqlite migration on column drop of uncommon schemas (#629) 2021-12-20 09:59:27 +01:00
migration.go Use id to access orgs (#1873) 2023-07-21 19:45:32 +02:00
migration_test.go Fix linter (#1647) 2023-03-18 20:35:27 +01:00