Commit graph

20 commits

Author SHA1 Message Date
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