aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20241111162753_create_pdfresources.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20241111162753_create_pdfresources.rb')
-rw-r--r--db/migrate/20241111162753_create_pdfresources.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20241111162753_create_pdfresources.rb b/db/migrate/20241111162753_create_pdfresources.rb
new file mode 100644
index 0000000..5baf790
--- /dev/null
+++ b/db/migrate/20241111162753_create_pdfresources.rb
@@ -0,0 +1,16 @@
+class CreatePdfresources < ActiveRecord::Migration[8.0]
+ def change
+ create_table :pdfresources do |t|
+ t.string :name
+ t.string :stripe_product_id
+ t.decimal :price
+ t.string :age_range
+ t.string :curriculum
+ t.integer :feature_slot
+ t.text :description
+ t.text :card_description
+
+ t.timestamps
+ end
+ end
+end