projects
/
depot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6b51c3ff3af9991e25d07c74edcee6233e63bb24
[depot.git]
/
db
/
migrate
/
20080724075409_create_products.rb
1
class
CreateProducts
<
ActiveRecord
::Migration
2
def self
.
up
3
create_table
:products
do
|
t
|
4
t
.
string
:title
5
t
.
text
:description
6
t
.
string
:image_url
7
8
t
.
timestamps
9
end
10
end
11
12
def self
.
down
13
drop_table
:products
14
end
15
end