Sha256: dd8060859020aa1dcb2a17b6e615e7a15e15f335e9618f315e3998c6be58cdf6

Contents?: true

Size: 197 Bytes

Versions: 6

Compression:

Stored size: 197 Bytes

Contents

class CreateBooks < ActiveRecord::Migration[5.2]
  def change
    create_table :books do |t|
      t.string :name
      t.string :label
      t.integer :value

      t.timestamps
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
yamls-0.2.2 example/rails5/db/migrate/20211031052741_create_books.rb
yamls-0.2.1 example/rails5/db/migrate/20211031052741_create_books.rb
yamls-0.2.0 example/rails5/db/migrate/20211031052741_create_books.rb
yamls-0.1.4 example/rails5/db/migrate/20211031052741_create_books.rb
yamls-0.1.3 example/rails5/db/migrate/20211031052741_create_books.rb
yamls-0.1.2 example/rails5/db/migrate/20211031052741_create_books.rb