You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asciinema.org/db/migrate/20140211152727_add_dummy_to...

7 lines
169 B
Ruby

class AddDummyToUsers < ActiveRecord::Migration
def change
add_column :users, :dummy, :boolean, default: false, null: false
add_index :users, :dummy
end
end