Sha256: 085d93138ef1f744b9e925db46c0248e05ab208be3909327e3b98335c8630b1b
Contents?: true
Size: 367 Bytes
Versions: 2
Compression:
Stored size: 367 Bytes
Contents
class AddSessionsTable < ActiveRecord::Migration def self.up create_table :sessions, :force => true do |t| t.column :id, :integer, :null => false t.column :sess_id, :string, :limit => 32 t.column :created_at, :datetime t.column :data, :text end end def self.down drop_table :sessions end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
merb-0.0.6 | examples/sample_app/dist/schema/migrations/002_add_sessions_table.rb |
merb-0.0.7 | examples/sample_app/dist/schema/migrations/002_add_sessions_table.rb |