-
-
Save hash32bot/9269780de679f9f2396216efca2c78f3 to your computer and use it in GitHub Desktop.
Sinatra App - Migration - http://bit.ly/2V9p6OL
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 CreateSpeakers < ActiveRecord::Migration[5.1] | |
def change | |
create_table :speakers do |t| | |
t.string :name, null: false | |
t.string :twitter_handle | |
t.text :bio | |
t.string :talk_title | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment