Created
December 16, 2021 15:13
-
-
Save JuzerShakir/6a1052c3380d0769a4eaadefcd0ca153 to your computer and use it in GitHub Desktop.
RSpec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CreateSmartphones < ActiveRecord::Migration[6.1] | |
def change | |
create_table :smartphones do |t| | |
t.string :brand, null: false | |
t.string :model, null: false | |
t.timestamps | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment