projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add the has_many_polymorphs plugin
[cs356-p2-videostore.git]
/
vendor
/
plugins
/
has_many_polymorphs
/
test
/
integration
/
app
/
db
/
migrate
/
004_create_states.rb
1
class CreateStates < ActiveRecord::Migration
2
def self.up
3
create_table "states", :force => true do |t|
4
t.string "name", :default => "", :null => false
5
t.string "abbreviation", :default => "", :null => false
6
end
7
end
8
9
def self.down
10
drop_table "states"
11
end
12
end