The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
389 B

  1. class CreateAnnouncements < ActiveRecord::Migration[5.2]
  2. def change
  3. create_table :announcements do |t|
  4. t.text :text, null: false, default: ''
  5. t.boolean :published, null: false, default: false
  6. t.boolean :all_day, null: false, default: false
  7. t.datetime :scheduled_at
  8. t.datetime :starts_at
  9. t.datetime :ends_at
  10. t.timestamps
  11. end
  12. end
  13. end