Sha256: 26c154fd5884e1bc2007d30eec17dcbd092af6d2dedef739cd61e979a39e0eac

Contents?: true

Size: 639 Bytes

Versions: 3

Compression:

Stored size: 639 Bytes

Contents

ActiveRecord::Schema.define(version: 0) do
  self.verbose = false

  create_table :correct_accounts do |t|
    t.string :email, null: false
    t.timestamps
  end

  create_table :wrong_accounts do |t|
    t.string :email
    t.timestamps
  end

  create_table :with_if_accounts do |t|
    t.string :email
    t.timestamps
  end

  create_table :with_on_accounts do |t|
    t.string :email
    t.timestamps
  end

  create_table :with_unless_accounts do |t|
    t.string :email
    t.timestamps
  end

  execute 'CREATE VIEW new_correct_people AS '\
          'SELECT * FROM correct_people '\
          'WHERE created_at = updated_at'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nullalign-0.0.4 spec/support/schema.rb
nullalign-0.0.3 spec/support/schema.rb
nullalign-0.0.2 spec/support/schema.rb