Sha256: 74d6027f765d831a0cb2473a4a3e662a5a850522ebaf688db8be6a0f32834f0e

Contents?: true

Size: 271 Bytes

Versions: 3

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

class CreateTestModels < ActiveRecord::Migration[8.0]
  def change
    create_table :users do |t|
      t.string :name
      t.timestamps
    end

    create_table :companies do |t|
      t.string :name
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stateful_models-0.0.3 spec/dummy/db/migrate/20241221171423_create_test_models.rb
stateful_models-0.0.2 spec/dummy/db/migrate/20241221171423_create_test_models.rb
stateful_models-0.0.1 spec/dummy/db/migrate/20241221171423_create_test_models.rb