Basis of rails-driven app for local business
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

13 lines
227 B

  1. class CreatePeople < ActiveRecord::Migration
  2. def self.up
  3. create_table :people do |t|
  4. t.string :firstname
  5. t.string :lastname
  6. t.timestamps
  7. end
  8. end
  9. def self.down
  10. drop_table :people
  11. end
  12. end