Sha256: 0f3dc6dab15839bd76b90de5a3517aa14e3212bb5351d4a5120d603e28d3cf14

Contents?: true

Size: 240 Bytes

Versions: 8

Compression:

Stored size: 240 Bytes

Contents

class CreateApps < Cassanity::Migration
  def up
    create_column_family :apps, {
      primary_key: :id,
      columns: {
        id: :timeuuid,
        name: :text,
      },
    }
  end

  def down
    drop_column_family :apps
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cassanity-0.6.0 spec/integration/cassanity/fixtures/migrations/20130225135002_create_apps.rb
cassanity-0.6.0.beta5 spec/integration/cassanity/fixtures/migrations/20130225135002_create_apps.rb
cassanity-0.6.0.beta4 spec/integration/cassanity/fixtures/migrations/20130225135002_create_apps.rb
cassanity-0.6.0.beta3 spec/integration/cassanity/fixtures/migrations/20130225135002_create_apps.rb
cassanity-0.6.0.beta2 spec/integration/cassanity/fixtures/migrations/20130225135002_create_apps.rb
cassanity-0.6.0.beta1 spec/integration/cassanity/fixtures/migrations/20130225135002_create_apps.rb
cassanity-0.5.1 spec/integration/cassanity/fixtures/migrations/20130225135002_create_apps.rb
cassanity-0.5.0 spec/integration/cassanity/fixtures/migrations/20130225135002_create_apps.rb