Sha256: 5c07250f28161509fcce9d8c359256be34e57ef6e742f0e61fa9c33ff83a2c6e
Contents?: true
Size: 370 Bytes
Versions: 1
Compression:
Stored size: 370 Bytes
Contents
class AddSessionsTable < ActiveRecord::Migration def self.up create_table :sessions, :force => true do |t| t.column :id, :integer, :null => false t.column :session_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
merb-0.0.8 | examples/sample_app/dist/schema/migrations/002_add_sessions_table.rb |