diff --git a/app/models/submitter.rb b/app/models/submitter.rb index 11950566..29d55710 100644 --- a/app/models/submitter.rb +++ b/app/models/submitter.rb @@ -13,7 +13,7 @@ # slug :string not null # ua :string # uuid :string not null -# values :string not null +# values :text not null # created_at :datetime not null # updated_at :datetime not null # submission_id :bigint not null diff --git a/app/models/template.rb b/app/models/template.rb index bf97187e..e211488e 100644 --- a/app/models/template.rb +++ b/app/models/template.rb @@ -6,11 +6,11 @@ # # id :bigint not null, primary key # deleted_at :datetime -# fields :string not null +# fields :text not null # name :string not null -# schema :string not null +# schema :text not null # slug :string not null -# submitters :string not null +# submitters :text not null # created_at :datetime not null # updated_at :datetime not null # account_id :bigint not null diff --git a/db/schema.rb b/db/schema.rb index 2d877c24..0a440b75 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -86,7 +86,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_07_01_075115) do t.string "uuid", null: false t.string "email", null: false t.string "slug", null: false - t.string "values", null: false + t.text "values", null: false t.string "ua" t.string "ip" t.datetime "sent_at" @@ -102,9 +102,9 @@ ActiveRecord::Schema[7.0].define(version: 2023_07_01_075115) do create_table "templates", force: :cascade do |t| t.string "slug", null: false t.string "name", null: false - t.string "schema", null: false - t.string "fields", null: false - t.string "submitters", null: false + t.text "schema", null: false + t.text "fields", null: false + t.text "submitters", null: false t.bigint "author_id", null: false t.bigint "account_id", null: false t.datetime "deleted_at"