Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save keita03301995/fe493e05dbe35a243807 to your computer and use it in GitHub Desktop.
Save keita03301995/fe493e05dbe35a243807 to your computer and use it in GitHub Desktop.
class CreateTables < ActiveRecord::Migration
def change
create_table :tables do |t|
t.string :tablename
t.timestamps null: false
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment