Database migrationsRuby on RailsPublic
Database migrations are an unavoidable part of continuous software development and integration, and every developer should be familiar with them.
Ruby on Rails
Ruby on Rails is Ruby's most popular server-side web framework. It uses an MVC model, and provides useful features, like database access, out of the box.
Public questions (free plan) are common interview questions. They are great for practicing, or if you want to filter candidates using the classic problems.
Select all statements that are correct after the following migration has been executed:
class ContactsMigration < ActiveRecord::Migration def change create_table :contacts do |t| t.string :name t.text :address t.integer :tnumber end rename_column :contacts, :tnumber, :telephone_number add_timestamps(:contacts, null: true) end end