way stuff
This commit is contained in:
parent
97978ceeb9
commit
222d31e435
23 changed files with 233 additions and 13 deletions
11
db/migrate/008_create_ways.rb
Normal file
11
db/migrate/008_create_ways.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class CreateWays < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :ways do |t|
|
||||
# t.column :name, :string
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :ways
|
||||
end
|
||||
end
|
11
db/migrate/009_create_old_ways.rb
Normal file
11
db/migrate/009_create_old_ways.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class CreateOldWays < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :old_ways do |t|
|
||||
# t.column :name, :string
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :old_ways
|
||||
end
|
||||
end
|
11
db/migrate/010_create_way_tags.rb
Normal file
11
db/migrate/010_create_way_tags.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class CreateWayTags < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :way_tags do |t|
|
||||
# t.column :name, :string
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :way_tags
|
||||
end
|
||||
end
|
11
db/migrate/011_create_current_way_segments.rb
Normal file
11
db/migrate/011_create_current_way_segments.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class CreateCurrentWaySegments < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :current_way_segments do |t|
|
||||
# t.column :name, :string
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :current_way_segments
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue