openstreetmap-website/db/migrate
Tom Hughes 5a54630b57 Add support for suspended and confirmed users
Replace the existing "active" and "visible" with an enumerated status
that allows for extra cases. Currently we have "suspended" for users
who hve triggered the spam detector and "confirmed" for users that have
triggered the detector but have been confirmed as vald by an admin.
2010-05-06 17:18:34 +01:00
..
001_create_osm_db.rb move fulltext indexes to monkeypatch, since not all dbs have a fulltext analogue 2008-11-08 18:44:38 +00:00
002_cleanup_osm_db.rb Explicitly set the default for home_lat and home_lon to null. 2009-04-09 17:11:04 +00:00
003_sql_session_store_setup.rb Require the migration helper code in some more migrations. 2009-08-04 13:17:29 +00:00
004_user_enhancements.rb Require the migration helper code in some more migrations. 2009-08-04 13:17:29 +00:00
005_tile_tracepoints.rb Merge 15165:15373 from trunk. 2009-05-31 11:32:32 +00:00
006_tile_nodes.rb Merge 15165:15373 from trunk. 2009-05-31 11:32:32 +00:00
007_add_relations.rb Replace hard coded nwr enumeration support with a more generic 2009-08-04 13:23:36 +00:00
008_remove_segments.rb rails_port_0.5: Add the index before loading the data as suggested by Tom Hughes. 2007-09-24 13:31:11 +00:00
008_remove_segments_helper.cc added tagging of two-node ways created from tagged or unwayed segments. untested. 2007-09-26 09:54:49 +00:00
009_way_nodes_node_idx.rb Add migration to add an index on node_id to way_nodes. This index was added 2008-01-07 00:30:44 +00:00
010_diary_comments.rb Require the migration helper code in some more migrations. 2009-08-04 13:17:29 +00:00
011_add_user_image.rb Restore add_user_image migration. 2008-02-23 16:01:12 +00:00
012_add_admin_flag.rb Add an administrator flag to the user table. 2008-08-13 08:12:09 +00:00
013_add_email_valid.rb Fixing boo-boo in r11802 - but you can assign integers to booleans on all dbs 2008-11-08 17:08:51 +00:00
014_add_new_email.rb Allow users to change their email address. Closes #546. 2008-08-13 11:39:33 +00:00
015_add_user_visible.rb Boolean correctness in migrations 2008-11-08 15:01:14 +00:00
016_add_creation_ip.rb Log the IP address used to create an account. 2008-10-12 23:20:28 +00:00
017_add_gpx_indexes.rb Add some extra indexes. 2008-12-12 15:43:02 +00:00
018_create_acls.rb Require the migration helper code in some more migrations. 2009-08-04 13:17:29 +00:00
019_add_timestamp_indexes.rb Merge 12304:14009 from trunk. 2009-03-08 13:02:37 +00:00
020_populate_node_tags_and_remove.rb Require the migration helper code in some more migrations. 2009-08-04 13:17:29 +00:00
020_populate_node_tags_and_remove_helper.c Merge 12304:14009 from trunk. 2009-03-08 13:02:37 +00:00
021_move_to_innodb.rb Require the migration helper code in some more migrations. 2009-08-04 13:17:29 +00:00
022_key_constraints.rb Add missing requires for the migration helper core. 2009-05-08 08:12:26 +00:00
023_add_changesets.rb Add missing requires for the migration helper core. 2009-05-08 08:12:26 +00:00
024_order_relation_members.rb Require the migration helper code in some more migrations. 2009-08-04 13:17:29 +00:00
025_add_end_time_to_changesets.rb Require the migration helper code in some more migrations. 2009-08-04 13:17:29 +00:00
026_add_changeset_user_index.rb Add a user index to the changeset table. 2009-04-20 13:31:57 +00:00
027_add_changeset_indexes.rb Add changeset indexes to nodes, ways and relations. 2009-04-20 13:39:20 +00:00
028_add_more_changeset_indexes.rb Add some extra indexes to the changesets table. 2009-04-20 14:54:05 +00:00
029_add_user_foreign_keys.rb Add missing requires for the migration helper core. 2009-05-08 08:12:26 +00:00
030_add_foreign_keys.rb Add missing requires for the migration helper core. 2009-05-08 08:12:26 +00:00
031_create_countries.rb Add an explicit require of rexml/document as ruby doesn't seem to 2009-11-04 09:29:35 +00:00
032_add_user_locale.rb Add a list of languages and fix a few issues with the schema. Also get 2009-05-30 16:37:21 +00:00
033_change_diary_entries_language.rb Tweak migration to ensure that migrating from a database with existing 2009-06-07 10:01:28 +00:00
034_create_languages.rb Add support for reloading the language table. 2009-09-03 21:55:42 +00:00
035_change_user_locale.rb Sort out storage and use of user preferred languages. 2009-05-31 14:55:45 +00:00
036_add_visible_to_message.rb Add the ability for a recipient to (logically) delete a message from 2009-07-23 15:22:44 +00:00
037_add_sender_visible_to_message.rb Allow messages to be deleted from the outbox as well as the inbox. 2009-07-23 17:41:50 +00:00
038_add_message_sender_index.rb Fixed migration - rails uses remove_index not drop_index. 2009-08-03 23:55:51 +00:00
039_add_more_controls_to_gpx_files.rb Add extra visibility options for GPS traces, and enhance the API call 2009-08-13 17:06:11 +00:00
040_create_oauth_tables.rb Merge 16891:17044 from trunk. 2009-08-13 17:18:08 +00:00
041_add_fine_o_auth_permissions.rb Merge 16891:17044 from trunk. 2009-08-13 17:18:08 +00:00
042_add_foreign_keys_to_oauth_tables.rb Merge 16891:17044 from trunk. 2009-08-13 17:18:08 +00:00
043_add_referer_to_user_token.rb Added referer URL in user_token so that redirections (e.g: from oauth token requests) are followed after the user has confirmed the sign-up. Added test for the same. 2009-08-25 15:00:32 +00:00
044_create_user_roles.rb Don't bother creating the user index on user_roles as migration 48 will 2009-10-01 20:04:33 +00:00
045_create_user_blocks.rb First version of blocking feature. Allows both time-based (for map protection) and notice-based (for education) blocks on users. Also introduces user roles and a simple UI for displaying and administering these. 2009-09-28 16:01:00 +00:00
046_alter_user_roles_and_blocks.rb New migration to add better auditing to user_roles and better column names there and on user_blocks. Added a helper for displaying block status messages. 2009-09-29 16:44:03 +00:00
047_add_visible_to_diaries.rb Add support for logical deletion of diary entries and comments. 2009-11-14 15:57:08 +00:00
048_add_diary_creation_indexes.rb Add some indexes to diary entries to let recent entries be found 2010-01-03 11:56:41 +00:00
049_improve_changeset_user_index.rb Add the changeset id to the user index so the next/previous user links 2010-01-14 18:37:52 +00:00
050_add_user_index_to_diary_comments.rb Add a user index to diary comments 2010-05-06 17:18:34 +01:00
051_add_status_to_user.rb Add support for suspended and confirmed users 2010-05-06 17:18:34 +01:00