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.
educoder/db/migrate/20191105093919_create_trust...

12 lines
265 B

5 years ago
class CreateTrustieHacks < ActiveRecord::Migration[5.2]
def change
create_table :trustie_hacks do |t|
t.string :name
t.string :description
t.references :user
t.integer :hack_users_count, default: 0
t.timestamps
end
end
end