mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Initial implementation of post_reviews_controller (#247)
This commit is contained in:
@@ -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
10
db/schema.rb
generated
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user