Sha256: 1494e06df50ccec6dd236b0d2f41865715cb8b823e2d213292dd1747f44b9d5d

Contents?: true

Size: 280 Bytes

Versions: 24

Compression:

Stored size: 280 Bytes

Contents

class AddSessionsTable < Sequel::Migration

  def up
    create_table :sessions do
      primary_key :id
      varchar     :session_id, :size => 64, :unique => true
      timestamp   :created_at
      text        :data
    end
  end

  def down
    drop_table :sessions
  end

end

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
pk-merb_sequel-1.0.1 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
pk-merb_sequel-1.0.2 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
pk-merb_sequel-1.0.3 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
pk-merb_sequel-1.0.4 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
pk-merb_sequel-1.0.5 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-1.1.1 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-1.1.0 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-1.0.9 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
pk-merb_sequel-1.0.8 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
pk-merb_sequel-1.0.7 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
pk-merb_sequel-1.0.6 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-0.9.10 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-0.9.6 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-0.9.11 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-0.9.12 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-0.9.13 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-0.9.14 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-0.9.4 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-0.9.5 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb
merb_sequel-0.9.7 lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb