Merge branch 'master' into openstreetbugs2
This commit is contained in:
commit
001ff5764b
586 changed files with 17972 additions and 1261 deletions
|
@ -22,13 +22,13 @@ quadtile-mysql.o: quadtile.c ${QTDIR}/quad_tile.h
|
|||
cc `mysql_config --include` -I${QTDIR} -fPIC -O3 -DUSE_MYSQL -c -o quadtile-mysql.o quadtile.c
|
||||
|
||||
quadtile-pgsql.o: quadtile.c ${QTDIR}/quad_tile.h
|
||||
cc -I `pg_config --includedir-server` -I${QTDIR} -fPIC -O3 -DUSE_PGSQL -c -o quadtile-pgsql.o quadtile.c
|
||||
cc -I `pg_config --includedir` -I `pg_config --includedir-server` -I${QTDIR} -fPIC -O3 -DUSE_PGSQL -c -o quadtile-pgsql.o quadtile.c
|
||||
|
||||
maptile-mysql.o: maptile.c
|
||||
cc `mysql_config --include` -fPIC -O3 -DUSE_MYSQL -c -o maptile-mysql.o maptile.c
|
||||
|
||||
maptile-pgsql.o: maptile.c
|
||||
cc -I `pg_config --includedir-server` -fPIC -O3 -DUSE_PGSQL -c -o maptile-pgsql.o maptile.c
|
||||
cc -I `pg_config --includedir` -I `pg_config --includedir-server` -fPIC -O3 -DUSE_PGSQL -c -o maptile-pgsql.o maptile.c
|
||||
|
||||
xid_to_int4-pgsql.o: xid_to_int4.c
|
||||
cc -I `pg_config --includedir-server` -fPIC -O3 -DUSE_PGSQL -c -o xid_to_int4-pgsql.o xid_to_int4.c
|
||||
cc -I `pg_config --includedir` -I `pg_config --includedir-server` -fPIC -O3 -DUSE_PGSQL -c -o xid_to_int4-pgsql.o xid_to_int4.c
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
class AddEditorPreferenceToUser < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :users, :preferred_editor, :string
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :users, :preferred_editor
|
||||
end
|
||||
end
|
13
db/migrate/20110322001319_add_terms_seen_to_user.rb
Normal file
13
db/migrate/20110322001319_add_terms_seen_to_user.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
class AddTermsSeenToUser < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :users, :terms_seen, :boolean, :null => false, :default => false
|
||||
|
||||
# best guess available is just that everyone who has agreed has
|
||||
# seen the terms, and that noone else has.
|
||||
User.update_all "terms_seen = (terms_agreed is not null)"
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :users, :terms_seen
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue