openstreetmap-website/db/migrate
Tom Hughes 8fa9763281 Set default formats in the database now that rails handles enums
Because rails now reads the defaults from the database correctly it
no longer works to set them conditionally in after_initialise as they
have already been set.
2015-01-11 12:54:16 +00:00
..
001_create_osm_db.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
002_cleanup_osm_db.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
003_sql_session_store_setup.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
004_user_enhancements.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
005_tile_tracepoints.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
006_tile_nodes.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
007_add_relations.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
008_remove_segments.rb Cleanup migrations 2015-01-11 12:53:01 +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 Cleanup migrations 2015-01-11 12:53:01 +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 Cleanup migrations 2015-01-11 12:53:01 +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 Cleanup migrations 2015-01-11 12:53:01 +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 Cleanup migrations 2015-01-11 12:53:01 +00:00
022_key_constraints.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
023_add_changesets.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
024_order_relation_members.rb Remove lib prefix from includes for ruby 1.9 compatibility 2012-01-05 20:33:19 +00:00
025_add_end_time_to_changesets.rb Cleanup migrations 2015-01-11 12:53:01 +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 Cleanup migrations 2015-01-11 12:53:01 +00:00
029_add_user_foreign_keys.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
030_add_foreign_keys.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
031_create_countries.rb Cleanup migrations 2015-01-11 12:53:01 +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 Cleanup migrations 2015-01-11 12:53:01 +00:00
035_change_user_locale.rb Cleanup migrations 2015-01-11 12:53:01 +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 Modernise use of find and update_all in database migrations 2014-04-27 19:18:35 +01: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 Cleanup migrations 2015-01-11 12:53:01 +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 Cleanup migrations 2015-01-11 12:53:01 +00:00
045_create_user_blocks.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
046_alter_user_roles_and_blocks.rb Cleanup migrations 2015-01-11 12:53:01 +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 Fix some bogus down migrations 2010-05-16 12:10:28 +01: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 Modernise use of find and update_all in database migrations 2014-04-27 19:18:35 +01:00
052_add_contributor_terms_to_user.rb Renumber migration to avoid conflict with master 2010-05-11 19:06:30 +01:00
053_add_map_bug_tables.rb Fix rails 4 compatibility issues in migrations 2013-09-21 12:03:53 +01:00
054_refactor_map_bug_tables.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
055_change_map_bug_comment_type.rb Fix require paths in migrations 2012-10-13 11:33:16 +01:00
056_add_date_closed.rb Fix require paths in migrations 2012-10-13 11:33:16 +01:00
057_add_map_bug_comment_event.rb Fix require paths in migrations 2012-10-13 11:33:16 +01:00
20100513171259_add_user_date_index_to_changeset.rb Fix some bogus down migrations 2010-05-16 12:10:28 +01:00
20100516124737_add_open_id.rb Fix OpenID migration to not create authentication tables 2010-05-16 12:48:01 +01:00
20100910084426_add_callback_to_oauth_tokens.rb Update oauth models and controllers for OAuth 1.0a support 2010-09-21 16:20:30 +01:00
20101114011429_add_editor_preference_to_user.rb Initial work on support for multiple editors 2010-11-29 12:20:21 +00:00
20110322001319_add_terms_seen_to_user.rb Phase 2 CTs implementation and tests, with config parameter 2011-04-03 13:46:16 +01:00
20110508145337_cleanup_bug_tables.rb Mass rename of "bugs" as "notes" for increased user friendliness 2011-05-21 17:22:31 +01:00
20110521142405_rename_bugs_to_notes.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
20110925112722_rename_ids.rb Rename all ID columns that aren't unique 2011-11-14 09:42:52 +00:00
20111116184519_update_oauth.rb Make OAuth work again 2011-11-16 21:13:25 +00:00
20111212183945_add_lowercase_user_indexes.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
20120123184321_switch_to_paperclip.rb Replace the file_column plugin with paperclip 2012-02-15 17:48:15 +00:00
20120208122334_merge_acl_address_and_mask.rb Combine the address and netmask for an ACL in one column 2012-02-08 14:09:50 +00:00
20120208194454_add_domain_to_acl.rb Add support for domain based ACLs 2012-02-08 21:40:21 +00:00
20120214210114_add_text_format.rb Add "text" to the valid formats 2012-03-18 13:19:44 +00:00
20120219161649_add_user_image_fingerprint.rb Add image fingerprints to users 2012-02-20 11:53:39 +00:00
20120318201948_create_redactions.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
20120328090602_drop_session_table.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
20120404205604_add_user_and_description_to_redaction.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
20120808231205_add_counter_caches.rb Improve user page navigation menu 2012-08-10 08:26:48 +01:00
20121005195010_add_diary_entry_counter_caches.rb Display a diary entry count on the user page 2012-10-07 16:17:01 +01:00
20121012044047_add_image_use_gravatar_to_users.rb Implemented Gravatar support 2012-10-18 18:59:38 +01:00
20121119165817_drop_nearby_place_from_notes.rb Remove nearby_place from the note model 2012-12-01 18:18:09 +00:00
20121202155309_remove_author_name_from_note_comment.rb Remove the author_name field from notes 2012-12-03 14:50:54 +00:00
20121203124841_change_note_address_to_inet.rb Convert author_ip to a proper INET field 2012-12-03 14:50:55 +00:00
20130328184137_add_write_notes_permission.rb Add a new write_notes permission needed for OAuth access to notes 2013-03-28 18:50:18 +00:00
20131212124700_add_created_at_index_to_note_comments.rb Add an index on created_at to the note_comments table 2013-12-12 12:50:05 +00:00
20140115192822_add_text_index_to_note_comments.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
20140117185510_drop_countries.rb Replace the country table with a static XML countries file 2014-01-17 19:25:58 +00:00
20140210003018_add_user_image_content_type.rb Update to paperclip 4.x and add content type validation 2014-02-10 00:34:23 +00:00
20140507110937_create_changeset_comments.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
20140519141742_add_join_table_between_users_and_changesets.rb Cleanup migrations 2015-01-11 12:53:01 +00:00
20150110152606_change_default_formats.rb Set default formats in the database now that rails handles enums 2015-01-11 12:54:16 +00:00