Last active
February 3, 2020 16:51
-
-
Save GAierken/ebb24404757f55e425ccb958cd9ade9a to your computer and use it in GitHub Desktop.
self referential relationship
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 CreateUsers < ActiveRecord::Migration[6.0] | |
def change | |
create_table :users do |t| | |
t.string :password_digest | |
t.string :username | |
t.string :address | |
t.boolean :board_certified | |
t.timestamps | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment