db/migrate/01_create_artists.rb
# class inherits from Active Record Migration module
class inherits from Active Record Migration module
class inherits from Active Record Migration module
def change 
        create_table :artists do |t|
            t.string :name
            t.string :genre
            t.integer :age
            t.string :hometown
        end
    end
def change create_table :artists do | t | t . string :name t . string :genre t . integer :age t . string :hometown end end
class inherits from Active Record Migration module
class inherits from Active Record Migration module
# common for basic migrations (usually primary way to code migrations in most cases) # primary key active record generates for us # data type : column name