* Initial classified listings work
* More work on tags
* Additional work finalizing stripe and getting the listings page along
* Finalize-ish listings 🤞
17 lines
487 B
Ruby
17 lines
487 B
Ruby
class CreateClassifiedListings < ActiveRecord::Migration[5.1]
|
|
def change
|
|
create_table :classified_listings do |t|
|
|
t.bigint :user_id
|
|
t.bigint :organization_id
|
|
t.string :title
|
|
t.text :body_markdown
|
|
t.text :processed_html
|
|
t.string :category
|
|
t.string :cached_tag_list
|
|
t.datetime :bumped_at
|
|
t.boolean :published
|
|
t.boolean :contact_via_connect, default: false
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|