diff --git a/db/schema.rb b/db/schema.rb index 6a634c7..6226301 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -66,10 +66,10 @@ ActiveRecord::Schema.define(version: 2019_10_29_152018) do t.string "current_sign_in_ip" t.string "last_sign_in_ip" t.string "remember_token" + t.integer "p_commercial_id" t.boolean "super_admin", default: false t.datetime "created_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false - t.integer "p_commercial_id" end create_table "albums", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| @@ -935,6 +935,8 @@ ActiveRecord::Schema.define(version: 2019_10_29_152018) do t.integer "p_commercial_id" t.integer "accounting_zone_id" t.bigint "market_discount_id" + t.string "siret" + t.string "tva_intra" t.text "closed_day" t.boolean "discount_enrobage", default: false t.boolean "discount_comptant", default: false diff --git a/db/seeds.rb b/db/seeds.rb index 113ba98..6f63986 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -8,7 +8,7 @@ LangSite.create(:name => "Français", :slug => "fr", :enabled => true) -Admin.create(:email => "info@nicolasbally.com", :username => "nico", :password => "123456", :password_confirmation => "123456", :super_admin => true) +Admin.create(:email => "info@nicolasbally.com", :firstname => "Nicolas", :name => "Bally", :username => "nico", :password => "123456", :password_confirmation => "123456", :super_admin => true) Menu.create(:name => "Menu principal", :max_levels => 3) diff --git a/public/logo-thatcher.png b/public/logo-thatcher.png new file mode 100644 index 0000000..8bdf082 Binary files /dev/null and b/public/logo-thatcher.png differ