diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-11 16:33:24 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-11 16:33:24 +0000 |
commit | b8d7a7cf7e78fe384c6c6e8e6812a252084ce1f0 (patch) | |
tree | 5ef297ac23775afb1bcffb68265749d08f282297 /db/migrate/20241111162753_create_pdfresources.rb | |
parent | 97201e0bca203b6b303789374ffd7e4228e062a7 (diff) |
Adds first pdfresource model
Diffstat (limited to 'db/migrate/20241111162753_create_pdfresources.rb')
-rw-r--r-- | db/migrate/20241111162753_create_pdfresources.rb | 16 |
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 |