mailr/db/migrate/20110727070907_create_folders.rb
Wojciech Todryk 37f548ce46 devel
2011-07-27 20:34:30 +02:00

18 lines
316 B
Ruby
Executable file

class CreateFolders < ActiveRecord::Migration
def self.up
create_table :folders do |t|
t.string :name
t.string :delim
t.string :attribs
t.integer :messages
t.integer :new
t.references :user
t.timestamps
end
end
def self.down
drop_table :folders
end
end