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.
15 lines
326 B
15 lines
326 B
12 months ago
|
class CreateNotification < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :notifications do |t|
|
||
|
t.string :title
|
||
|
t.string :link_text
|
||
|
t.string :page_content
|
||
|
t.datetime :start_date
|
||
|
t.datetime :end_date
|
||
|
t.boolean :show_on_unauthenticated_pages
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|