add the model

This commit is contained in:
Steve Coast 2006-11-17 18:47:37 +00:00
parent d7be818949
commit 5f2116df78
2 changed files with 13 additions and 0 deletions

2
app/models/map.rb Normal file
View file

@ -0,0 +1,2 @@
class Map < ActiveRecord::Base
end

View file

@ -0,0 +1,11 @@
class CreateMaps < ActiveRecord::Migration
def self.up
create_table :maps do |t|
# t.column :name, :string
end
end
def self.down
drop_table :maps
end
end