forgejo/models
guillep2k ad1b6d439f Add support for database schema in PostgreSQL (#8819)
* Add support for database schema

* Require setting search_path for the db user

* Add schema setting to admin/config.tmpl

* Use a schema different from default for psql tests

* Update postgres scripts to use custom schema

* Update to xorm/core 0.7.3 and xorm/xorm c37aff9b3a

* Fix migration test

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-01-20 16:45:14 +01:00
..
fixtures Add "Update Branch" button to Pull Requests (#9784) 2020-01-17 08:03:40 +02:00
migrations Add missing columns to repository and user (#9861) 2020-01-19 22:27:44 +00:00
access.go
access_test.go
action.go
action_list.go
action_test.go
admin.go
admin_test.go
attachment.go
attachment_test.go
branches.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
branches_test.go
commit_status.go
commit_status_test.go
consistency.go
context.go
convert.go
error.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
error_oauth2.go
external_login_user.go Migrate reactions when migrating repository from github (#9599) 2020-01-15 12:14:07 +01:00
gpg_key.go
gpg_key_test.go
helper.go
helper_directory.go
helper_environment.go
issue.go Fix wrong identify poster on a migrated pull request when submi… (#9827) 2020-01-17 11:23:46 +01:00
issue_assignees.go
issue_assignees_test.go
issue_comment.go Migrate reactions when migrating repository from github (#9599) 2020-01-15 12:14:07 +01:00
issue_comment_list.go
issue_comment_test.go
issue_dependency.go
issue_dependency_test.go
issue_label.go
issue_label_test.go
issue_list.go
issue_list_test.go
issue_lock.go
issue_milestone.go
issue_milestone_test.go
issue_reaction.go Migrate reactions when migrating repository from github (#9599) 2020-01-15 12:14:07 +01:00
issue_reaction_test.go Migrate reactions when migrating repository from github (#9599) 2020-01-15 12:14:07 +01:00
issue_stopwatch.go
issue_stopwatch_test.go
issue_test.go Add "Update Branch" button to Pull Requests (#9784) 2020-01-17 08:03:40 +02:00
issue_tracked_time.go
issue_tracked_time_test.go
issue_user.go
issue_user_test.go Add "Update Branch" button to Pull Requests (#9784) 2020-01-17 08:03:40 +02:00
issue_watch.go
issue_watch_test.go
issue_xref.go
issue_xref_test.go
lfs.go
lfs_lock.go
log.go
login_source.go Check user != nil before checking values (#9881) 2020-01-19 18:49:55 -05:00
main_test.go
migrate.go Migrate reactions when migrating repository from github (#9599) 2020-01-15 12:14:07 +01:00
models.go Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00
models_test.go
notification.go [API] add endpoint to check notifications [Extend #9488] (#9595) 2020-01-14 16:37:19 +01:00
notification_test.go
oauth2.go
oauth2_application.go
oauth2_application_test.go
org.go
org_team.go
org_team_test.go
org_test.go
pull.go Explicitly refer to PR in squash-merge commit message in case of external tracker (#9844) 2020-01-18 12:40:43 +08:00
pull_list.go
pull_sign.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
pull_test.go Add "Update Branch" button to Pull Requests (#9784) 2020-01-17 08:03:40 +02:00
release.go
repo.go Add setting to set default and global disabled repository units. (#8788) 2020-01-17 09:34:37 +02:00
repo_activity.go Add top author stats to activity page (#9615) 2020-01-20 12:07:30 +02:00
repo_branch.go
repo_collaboration.go
repo_collaboration_test.go
repo_generate.go
repo_generate_test.go
repo_indexer.go
repo_issue.go
repo_list.go
repo_list_test.go
repo_mirror.go
repo_permission.go
repo_permission_test.go
repo_redirect.go
repo_redirect_test.go
repo_sign.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
repo_test.go
repo_unit.go Add setting to set default and global disabled repository units. (#8788) 2020-01-17 09:34:37 +02:00
repo_watch.go
repo_watch_test.go
review.go
review_test.go
ssh_key.go
ssh_key_test.go
star.go
star_test.go
task.go
test_fixtures.go
token.go
token_test.go
topic.go
topic_test.go
twofactor.go
u2f.go
u2f_test.go
unit.go Add setting to set default and global disabled repository units. (#8788) 2020-01-17 09:34:37 +02:00
unit_tests.go
update.go
upload.go
user.go Add option to prevent LDAP from deactivating everything on empty search (#9879) 2020-01-20 11:47:39 +08:00
user_follow.go
user_follow_test.go
user_heatmap.go
user_heatmap_test.go
user_mail.go
user_mail_test.go
user_openid.go
user_openid_test.go
user_test.go
userlist.go
userlist_test.go
webhook.go
webhook_test.go
wiki.go
wiki_test.go