Sha256: 7c844dbe0e8f81640d6af898e837301126446cbf39e8cc99e360e25285475d7b

Contents?: true

Size: 316 Bytes

Versions: 28

Compression:

Stored size: 316 Bytes

Contents

class CreateTestTables < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :issue_id
      t.integer :position
    end

    create_table :roles do |t|
      t.string :name
      t.integer :user_id
    end
  end

  def self.down
    drop_table :users
    drop_table :roles
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
sessionm-cassandra_object-4.0.32 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.31 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.30 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.29 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.28 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.27 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.26 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.25 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.24 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.23 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.22 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.21 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.20 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.18 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.17 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.16 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.15 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.14 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.13 spec/support/db/migrate/001_create_test_tables.rb
sessionm-cassandra_object-4.0.12 spec/support/db/migrate/001_create_test_tables.rb