From 8185939b2629581dd9264dbbc37f859e19436f31 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 18 Dec 2023 19:38:44 +0000 Subject: wip: stuck on notnull error... --- db/migrate/20231218185814_create_organisations.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20231218185814_create_organisations.rb (limited to 'db/migrate/20231218185814_create_organisations.rb') diff --git a/db/migrate/20231218185814_create_organisations.rb b/db/migrate/20231218185814_create_organisations.rb new file mode 100644 index 0000000..e4dbda7 --- /dev/null +++ b/db/migrate/20231218185814_create_organisations.rb @@ -0,0 +1,9 @@ +class CreateOrganisations < ActiveRecord::Migration[7.1] + def change + create_table :organisations do |t| + t.string :name + + t.timestamps + end + end +end -- cgit v1.2.3