Initial implementation of post_reviews_controller (#247)

This commit is contained in:
Max Wofford
2025-05-22 03:14:27 -04:00
committed by GitHub
parent d05081cd4e
commit 1fba58c6fb
13 changed files with 770 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
class CreateNeighborhoodYswsSubmissions < ActiveRecord::Migration[8.0]
def change
create_table :neighborhood_ysws_submissions do |t|
t.string :airtable_id, null: false
t.index :airtable_id, unique: true
t.jsonb :airtable_fields
t.timestamps
end
end
end

10
db/schema.rb generated
View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_05_16_142043) do
ActiveRecord::Schema[8.0].define(version: 2025_05_22_062125) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_catalog.plpgsql"
@@ -285,6 +285,14 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_16_142043) do
t.index ["airtable_id"], name: "index_neighborhood_projects_on_airtable_id", unique: true
end
create_table "neighborhood_ysws_submissions", force: :cascade do |t|
t.string "airtable_id", null: false
t.jsonb "airtable_fields"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["airtable_id"], name: "index_neighborhood_ysws_submissions_on_airtable_id", unique: true
end
create_table "physical_mails", force: :cascade do |t|
t.bigint "user_id", null: false
t.integer "mission_type", null: false