mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 13:38:12 -08:00
set up example scaffold with rspec + factorybot tests
This commit is contained in:
parent
533c921a6d
commit
d1e6fb1e39
23 changed files with 512 additions and 6 deletions
10
db/migrate/20231223040511_create_dashboard_examples.rb
Normal file
10
db/migrate/20231223040511_create_dashboard_examples.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
class CreateDashboardExamples < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
create_table :dashboard_examples do |t|
|
||||
t.string :text
|
||||
t.text :body
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue