diff --git a/Dockerfile b/Dockerfile index 7b695103..36b7b7d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,5 +5,4 @@ RUN apt-get update -qq && \ COPY . /notebook-ai WORKDIR /notebook-ai RUN bundle install -RUN rake db:create -RUN rake db:migrate +RUN rails db:setup diff --git a/db/schema.rb b/db/schema.rb index 32f1e05d..de7c3ccc 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1394,7 +1394,7 @@ ActiveRecord::Schema.define(version: 2020_03_02_022930) do t.datetime "updated_at", null: false t.string "src_file_name" t.string "src_content_type" - t.bigint "src_file_size" + t.integer "src_file_size" t.datetime "src_updated_at" t.index ["content_type", "content_id"], name: "index_image_uploads_on_content_type_and_content_id" t.index ["user_id"], name: "index_image_uploads_on_user_id"