- Re-enable ActiveRecord pointing at Neon Postgres - Add Customer model with stripe_customer_id, email, slug, status - Add dashboard controller and Apple ID-style device view - Redirect checkout success to /dashboard - Webhook now calls /instances, parses response, creates Customer in Rails DB - Add MIT License Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5 lines
188 B
Ruby
5 lines
188 B
Ruby
class AddStatusToCustomers < ActiveRecord::Migration[7.1]
|
|
def change
|
|
add_column :customers, :status, :string, default: "pending" unless column_exists?(:customers, :status)
|
|
end
|
|
end
|