Documentation ¶
Overview ¶
Code generated for package migrations by go-bindata DO NOT EDIT. (@generated) sources: mysql/000001_create_teams.down.sql mysql/000001_create_teams.up.sql mysql/000002_create_team_members.down.sql mysql/000002_create_team_members.up.sql mysql/000003_create_cluster_discovery.down.sql mysql/000003_create_cluster_discovery.up.sql mysql/000004_create_command_webhooks.down.sql mysql/000004_create_command_webhooks.up.sql mysql/000005_create_compliances.down.sql mysql/000005_create_compliances.up.sql mysql/000006_create_emojis.down.sql mysql/000006_create_emojis.up.sql mysql/000007_create_user_groups.down.sql mysql/000007_create_user_groups.up.sql mysql/000008_create_group_members.down.sql mysql/000008_create_group_members.up.sql mysql/000009_create_group_teams.down.sql mysql/000009_create_group_teams.up.sql mysql/000010_create_group_channels.down.sql mysql/000010_create_group_channels.up.sql mysql/000011_create_link_metadata.down.sql mysql/000011_create_link_metadata.up.sql mysql/000012_create_commands.down.sql mysql/000012_create_commands.up.sql mysql/000013_create_incoming_webhooks.down.sql mysql/000013_create_incoming_webhooks.up.sql mysql/000014_create_outgoing_webhooks.down.sql mysql/000014_create_outgoing_webhooks.up.sql mysql/000015_create_systems.down.sql mysql/000015_create_systems.up.sql mysql/000016_create_reactions.down.sql mysql/000016_create_reactions.up.sql mysql/000017_create_roles.down.sql mysql/000017_create_roles.up.sql mysql/000018_create_schemes.down.sql mysql/000018_create_schemes.up.sql mysql/000019_create_licenses.down.sql mysql/000019_create_licenses.up.sql mysql/000020_create_posts.down.sql mysql/000020_create_posts.up.sql mysql/000021_create_product_notice_view_state.down.sql mysql/000021_create_product_notice_view_state.up.sql mysql/000022_create_sessions.down.sql mysql/000022_create_sessions.up.sql mysql/000023_create_terms_of_service.down.sql mysql/000023_create_terms_of_service.up.sql mysql/000024_create_audits.down.sql mysql/000024_create_audits.up.sql mysql/000025_create_oauth_access_data.down.sql mysql/000025_create_oauth_access_data.up.sql mysql/000026_create_preferences.down.sql mysql/000026_create_preferences.up.sql mysql/000027_create_status.down.sql mysql/000027_create_status.up.sql mysql/000028_create_tokens.down.sql mysql/000028_create_tokens.up.sql mysql/000029_create_bots.down.sql mysql/000029_create_bots.up.sql mysql/000030_create_user_access_tokens.down.sql mysql/000030_create_user_access_tokens.up.sql mysql/000031_create_remote_clusters.down.sql mysql/000031_create_remote_clusters.up.sql mysql/000032_create_sharedchannels.down.sql mysql/000032_create_sharedchannels.up.sql mysql/000033_create_sidebar_channels.down.sql mysql/000033_create_sidebar_channels.up.sql mysql/000034_create_oauthauthdata.down.sql mysql/000034_create_oauthauthdata.up.sql mysql/000035_create_sharedchannelattachments.down.sql mysql/000035_create_sharedchannelattachments.up.sql mysql/000036_create_sharedchannelusers.down.sql mysql/000036_create_sharedchannelusers.up.sql mysql/000037_create_sharedchannelremotes.down.sql mysql/000037_create_sharedchannelremotes.up.sql mysql/000038_create_jobs.down.sql mysql/000038_create_jobs.up.sql mysql/000039_create_channel_member_history.down.sql mysql/000039_create_channel_member_history.up.sql mysql/000040_create_sidebar_categories.down.sql mysql/000040_create_sidebar_categories.up.sql mysql/000041_create_upload_sessions.down.sql mysql/000041_create_upload_sessions.up.sql mysql/000042_create_threads.down.sql mysql/000042_create_threads.up.sql mysql/000043_thread_memberships.down.sql mysql/000043_thread_memberships.up.sql mysql/000044_create_user_terms_of_service.down.sql mysql/000044_create_user_terms_of_service.up.sql mysql/000045_create_plugin_key_value_store.down.sql mysql/000045_create_plugin_key_value_store.up.sql mysql/000046_create_users.down.sql mysql/000046_create_users.up.sql mysql/000047_create_file_info.down.sql mysql/000047_create_file_info.up.sql mysql/000048_create_oauth_apps.down.sql mysql/000048_create_oauth_apps.up.sql mysql/000049_create_channels.down.sql mysql/000049_create_channels.up.sql mysql/000050_create_channelmembers.down.sql mysql/000050_create_channelmembers.up.sql mysql/000051_create_msg_root_count.down.sql mysql/000051_create_msg_root_count.up.sql mysql/000052_create_public_channels.down.sql mysql/000052_create_public_channels.up.sql mysql/000053_create_retention_policies.down.sql mysql/000053_create_retention_policies.up.sql mysql/000054_create_crt_channelmembership_count.down.sql mysql/000054_create_crt_channelmembership_count.up.sql mysql/000055_create_crt_thread_count_and_unreads.down.sql mysql/000055_create_crt_thread_count_and_unreads.up.sql mysql/000056_upgrade_channels_v6.0.down.sql mysql/000056_upgrade_channels_v6.0.up.sql mysql/000057_upgrade_command_webhooks_v6.0.down.sql mysql/000057_upgrade_command_webhooks_v6.0.up.sql mysql/000058_upgrade_channelmembers_v6.0.down.sql mysql/000058_upgrade_channelmembers_v6.0.up.sql mysql/000059_upgrade_users_v6.0.down.sql mysql/000059_upgrade_users_v6.0.up.sql mysql/000060_upgrade_jobs_v6.0.down.sql mysql/000060_upgrade_jobs_v6.0.up.sql mysql/000061_upgrade_link_metadata_v6.0.down.sql mysql/000061_upgrade_link_metadata_v6.0.up.sql mysql/000062_upgrade_sessions_v6.0.down.sql mysql/000062_upgrade_sessions_v6.0.up.sql mysql/000063_upgrade_threads_v6.0.down.sql mysql/000063_upgrade_threads_v6.0.up.sql mysql/000064_upgrade_status_v6.0.down.sql mysql/000064_upgrade_status_v6.0.up.sql mysql/000065_upgrade_groupchannels_v6.0.down.sql mysql/000065_upgrade_groupchannels_v6.0.up.sql mysql/000066_upgrade_posts_v6.0.down.sql mysql/000066_upgrade_posts_v6.0.up.sql mysql/000067_upgrade_channelmembers_v6.1.down.sql mysql/000067_upgrade_channelmembers_v6.1.up.sql mysql/000068_upgrade_teammembers_v6.1.down.sql mysql/000068_upgrade_teammembers_v6.1.up.sql mysql/000069_upgrade_jobs_v6.1.down.sql mysql/000069_upgrade_jobs_v6.1.up.sql mysql/000070_upgrade_cte_v6.1.down.sql mysql/000070_upgrade_cte_v6.1.up.sql mysql/000071_upgrade_sessions_v6.1.down.sql mysql/000071_upgrade_sessions_v6.1.up.sql mysql/000072_upgrade_schemes_v6.3.down.sql mysql/000072_upgrade_schemes_v6.3.up.sql mysql/000073_upgrade_plugin_key_value_store_v6.3.down.sql mysql/000073_upgrade_plugin_key_value_store_v6.3.up.sql mysql/000074_upgrade_users_v6.3.down.sql mysql/000074_upgrade_users_v6.3.up.sql mysql/000075_alter_upload_sessions_index.down.sql mysql/000075_alter_upload_sessions_index.up.sql mysql/000077_upgrade_users_v6.5.down.sql mysql/000077_upgrade_users_v6.5.up.sql postgres/000001_create_teams.down.sql postgres/000001_create_teams.up.sql postgres/000002_create_team_members.down.sql postgres/000002_create_team_members.up.sql postgres/000003_create_cluster_discovery.down.sql postgres/000003_create_cluster_discovery.up.sql postgres/000004_create_command_webhooks.down.sql postgres/000004_create_command_webhooks.up.sql postgres/000005_create_compliances.down.sql postgres/000005_create_compliances.up.sql postgres/000006_create_emojis.down.sql postgres/000006_create_emojis.up.sql postgres/000007_create_user_groups.down.sql postgres/000007_create_user_groups.up.sql postgres/000008_create_group_members.down.sql postgres/000008_create_group_members.up.sql postgres/000009_create_group_teams.down.sql postgres/000009_create_group_teams.up.sql postgres/000010_create_group_channels.down.sql postgres/000010_create_group_channels.up.sql postgres/000011_create_link_metadata.down.sql postgres/000011_create_link_metadata.up.sql postgres/000012_create_commands.down.sql postgres/000012_create_commands.up.sql postgres/000013_create_incoming_webhooks.down.sql postgres/000013_create_incoming_webhooks.up.sql postgres/000014_create_outgoing_webhooks.down.sql postgres/000014_create_outgoing_webhooks.up.sql postgres/000015_create_systems.down.sql postgres/000015_create_systems.up.sql postgres/000016_create_reactions.down.sql postgres/000016_create_reactions.up.sql postgres/000017_create_roles.down.sql postgres/000017_create_roles.up.sql postgres/000018_create_schemes.down.sql postgres/000018_create_schemes.up.sql postgres/000019_create_licenses.down.sql postgres/000019_create_licenses.up.sql postgres/000020_create_posts.down.sql postgres/000020_create_posts.up.sql postgres/000021_create_product_notice_view_state.down.sql postgres/000021_create_product_notice_view_state.up.sql postgres/000022_create_sessions.down.sql postgres/000022_create_sessions.up.sql postgres/000023_create_terms_of_service.down.sql postgres/000023_create_terms_of_service.up.sql postgres/000024_create_audits.down.sql postgres/000024_create_audits.up.sql postgres/000025_create_oauth_access_data.down.sql postgres/000025_create_oauth_access_data.up.sql postgres/000026_create_preferences.down.sql postgres/000026_create_preferences.up.sql postgres/000027_create_status.down.sql postgres/000027_create_status.up.sql postgres/000028_create_tokens.down.sql postgres/000028_create_tokens.up.sql postgres/000029_create_bots.down.sql postgres/000029_create_bots.up.sql postgres/000030_create_user_access_tokens.down.sql postgres/000030_create_user_access_tokens.up.sql postgres/000031_create_remote_clusters.down.sql postgres/000031_create_remote_clusters.up.sql postgres/000032_create_sharedchannels.down.sql postgres/000032_create_sharedchannels.up.sql postgres/000033_create_sidebar_channels.down.sql postgres/000033_create_sidebar_channels.up.sql postgres/000034_create_oauthauthdata.down.sql postgres/000034_create_oauthauthdata.up.sql postgres/000035_create_sharedchannelattachments.down.sql postgres/000035_create_sharedchannelattachments.up.sql postgres/000036_create_sharedchannelusers.down.sql postgres/000036_create_sharedchannelusers.up.sql postgres/000037_create_sharedchannelremotes.down.sql postgres/000037_create_sharedchannelremotes.up.sql postgres/000038_create_jobs.down.sql postgres/000038_create_jobs.up.sql postgres/000039_create_channel_member_history.down.sql postgres/000039_create_channel_member_history.up.sql postgres/000040_create_sidebar_categories.down.sql postgres/000040_create_sidebar_categories.up.sql postgres/000041_create_upload_sessions.down.sql postgres/000041_create_upload_sessions.up.sql postgres/000042_create_threads.down.sql postgres/000042_create_threads.up.sql postgres/000043_thread_memberships.down.sql postgres/000043_thread_memberships.up.sql postgres/000044_create_user_terms_of_service.down.sql postgres/000044_create_user_terms_of_service.up.sql postgres/000045_create_plugin_key_value_store.down.sql postgres/000045_create_plugin_key_value_store.up.sql postgres/000046_create_users.down.sql postgres/000046_create_users.up.sql postgres/000047_create_file_info.down.sql postgres/000047_create_file_info.up.sql postgres/000048_create_oauth_apps.down.sql postgres/000048_create_oauth_apps.up.sql postgres/000049_create_channels.down.sql postgres/000049_create_channels.up.sql postgres/000050_create_channelmembers.down.sql postgres/000050_create_channelmembers.up.sql postgres/000051_create_msg_root_count.down.sql postgres/000051_create_msg_root_count.up.sql postgres/000052_create_public_channels.down.sql postgres/000052_create_public_channels.up.sql postgres/000053_create_retention_policies.down.sql postgres/000053_create_retention_policies.up.sql postgres/000054_create_crt_channelmembership_count.down.sql postgres/000054_create_crt_channelmembership_count.up.sql postgres/000055_create_crt_thread_count_and_unreads.down.sql postgres/000055_create_crt_thread_count_and_unreads.up.sql postgres/000056_upgrade_channels_v6.0.down.sql postgres/000056_upgrade_channels_v6.0.up.sql postgres/000057_upgrade_command_webhooks_v6.0.down.sql postgres/000057_upgrade_command_webhooks_v6.0.up.sql postgres/000058_upgrade_channelmembers_v6.0.down.sql postgres/000058_upgrade_channelmembers_v6.0.up.sql postgres/000059_upgrade_users_v6.0.down.sql postgres/000059_upgrade_users_v6.0.up.sql postgres/000060_upgrade_jobs_v6.0.down.sql postgres/000060_upgrade_jobs_v6.0.up.sql postgres/000061_upgrade_link_metadata_v6.0.down.sql postgres/000061_upgrade_link_metadata_v6.0.up.sql postgres/000062_upgrade_sessions_v6.0.down.sql postgres/000062_upgrade_sessions_v6.0.up.sql postgres/000063_upgrade_threads_v6.0.down.sql postgres/000063_upgrade_threads_v6.0.up.sql postgres/000064_upgrade_status_v6.0.down.sql postgres/000064_upgrade_status_v6.0.up.sql postgres/000065_upgrade_groupchannels_v6.0.down.sql postgres/000065_upgrade_groupchannels_v6.0.up.sql postgres/000066_upgrade_posts_v6.0.down.sql postgres/000066_upgrade_posts_v6.0.up.sql postgres/000067_upgrade_channelmembers_v6.1.down.sql postgres/000067_upgrade_channelmembers_v6.1.up.sql postgres/000068_upgrade_teammembers_v6.1.down.sql postgres/000068_upgrade_teammembers_v6.1.up.sql postgres/000069_upgrade_jobs_v6.1.down.sql postgres/000069_upgrade_jobs_v6.1.up.sql postgres/000070_upgrade_cte_v6.1.down.sql postgres/000070_upgrade_cte_v6.1.up.sql postgres/000071_upgrade_sessions_v6.1.down.sql postgres/000071_upgrade_sessions_v6.1.up.sql postgres/000072_upgrade_schemes_v6.3.down.sql postgres/000072_upgrade_schemes_v6.3.up.sql postgres/000073_upgrade_plugin_key_value_store_v6.3.down.sql postgres/000073_upgrade_plugin_key_value_store_v6.3.up.sql postgres/000074_upgrade_users_v6.3.down.sql postgres/000074_upgrade_users_v6.3.up.sql postgres/000075_alter_upload_sessions_index.down.sql postgres/000075_alter_upload_sessions_index.up.sql postgres/000077_upgrade_users_v6.5.down.sql postgres/000077_upgrade_users_v6.5.up.sql
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Asset ¶
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
func AssetDir ¶
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:
data/ foo.txt img/ a.png b.png
then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.
func AssetInfo ¶
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
func MustAsset ¶
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
func RestoreAsset ¶
RestoreAsset restores an asset under the given directory
func RestoreAssets ¶
RestoreAssets restores an asset under the given directory recursively
Types ¶
This section is empty.