mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
add scaffold & bike form
This commit is contained in:
@@ -13,7 +13,6 @@ class CreateBikeTable < ActiveRecord::Migration
|
||||
t.text :notes
|
||||
t.text :tag_info
|
||||
t.string :repaired_by
|
||||
t.string :repaired_for
|
||||
t.string :completion_date
|
||||
t.string :price
|
||||
end
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
class CreateBikes < ActiveRecord::Migration
|
||||
def change
|
||||
add_column(:bikes, :created_at, :datetime)
|
||||
add_column(:bikes, :updated_at, :datetime)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user