Tom Hughes
99a2b549d4
Drop renaming of sequences
...
Rails seems to rename sequences automatically now when the
corresponding table is renamed, so we don't need to do it.
2012-10-13 11:49:37 +01:00
Tom Hughes
e660e60966
Merge branch 'master' into openstreetbugs
...
Conflicts:
Gemfile
Gemfile.lock
lib/migrate.rb
2012-03-08 18:23:27 +00:00
Tom Hughes
beb0ef6357
Stop pretending we support MySQL
2012-02-08 14:08:49 +00:00
Tom Hughes
52e5fa6ad7
Merge branch 'master' into openstreetbugs
...
Conflicts:
app/views/browse/_map.html.erb
app/views/site/index.html.erb
config/initializers/mime_types.rb
config/routes.rb
lib/map_boundary.rb
lib/migrate.rb
lib/osm.rb
vendor/assets/openlayers/OpenLayers.js
2012-01-05 20:15:53 +00:00
Tom Hughes
294b098a0d
Don't try and monkey patch database drivers that aren't loaded
2012-01-05 18:18:22 +00:00
Tom Hughes
fcaeaf8c44
Remove compatibility code for old versions of rails
2012-01-04 22:25:53 +00:00
Tom Hughes
af2b13c2c1
Require user names and emails to be case insensitively unique
...
Any existing clashes are allowed to remain for now, byt any new
accounts, or changes to names on existing accounts, must be unique
without regard to case.
2011-12-12 19:11:06 +00:00
Tom Hughes
e3b8b89330
Mass rename of "bugs" as "notes" for increased user friendliness
2011-05-21 17:22:31 +01:00
Tom Hughes
63f61b5f04
Replace hard coded nwr enumeration support with a more generic
...
system for defining enumerations.
2009-08-04 13:23:36 +00:00
Tom Hughes
098e757cf2
Add a remove_foreign_key method and make migration 34 reversible.
2009-05-31 13:53:16 +00:00
Tom Hughes
869da5e228
Add some extra indexes to the changesets table.
2009-04-20 14:54:05 +00:00
Tom Hughes
a4de927a28
Handle differences in interval constant formatting.
2009-04-16 20:47:18 +00:00
Shaun McDonald
08bd1688ee
Railsify the relation member model, type attribute, by putting it into class case, rather than lower case. Requires reload of postgres databases or manual change to the enum. Fixes the databrowser on postgres, however affects the rest of the codebase.
2009-04-15 14:49:21 +00:00
Tom Hughes
7fff6361c1
Use the inet type for IP addresses in postgres.
2009-04-09 15:17:12 +00:00
Tom Hughes
2e1414b229
Fix primary key creation for ACL table.
2009-04-09 15:09:38 +00:00
Andy Allan
d717f2d02a
Postgres adapter, and make migration 022 db-agnostic
2008-11-10 19:14:00 +00:00
Andy Allan
4adeeb51ad
remove indexes before renaming tables (some dbs have database-level index namespaces) and unsigned is also a mysqlism
2008-11-09 19:30:22 +00:00
Andy Allan
051f20e277
migrations: add specific method for nodes/ways/relations enum column
2008-11-09 16:11:42 +00:00
Andy Allan
550ce43250
move fulltext indexes to monkeypatch, since not all dbs have a fulltext analogue
2008-11-08 18:44:38 +00:00
Andy Allan
91374368fa
Move db engine changing into db adaptor monkeypatch
2008-11-08 18:04:36 +00:00
Andy Allan
c19d1b406b
last of the auto_increments removed from the migrations
2008-11-08 17:39:16 +00:00
Andy Allan
fc9046ce6f
Moving AUTO_INCREMENTs to monkeypatching. Seems a bit hacky though
2008-11-08 16:47:02 +00:00
Andy Allan
e598ee220f
Change bigint id column to monkeypatching-friendly syntax
2008-11-08 11:01:39 +00:00
Gabriel Ebner
ba01b66242
split_node_tags: Implement key constraints.
2008-05-04 08:25:29 +00:00
Tom Hughes
62dfa5ff45
Make the tile ID column unsigned as intended.
2007-09-18 23:06:40 +00:00
Tom Hughes
69f364bb78
Enhacements to the migration library code.
2007-06-24 16:00:46 +00:00
Tom Hughes
a3ad9912d5
Primary keys can't have names so don't pretend otherwise.
2007-06-24 11:38:35 +00:00
Tom Hughes
f042a797c6
Move common support code from the base migration to a library file where
...
it can be used by other migrations.
2007-06-24 11:25:26 +00:00