Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add properties #19

Open
navneethit opened this issue Dec 22, 2017 · 4 comments
Open

Unable to add properties #19

navneethit opened this issue Dec 22, 2017 · 4 comments

Comments

@navneethit
Copy link

navneethit commented Dec 22, 2017

I can view the Properties but I cant add the Properties can anyone help me?

@typo3ua
Copy link

typo3ua commented Dec 23, 2017

The database to run this application is missing and too system not connect to database.
When install system does not setup and does not configuring database

@v03adk
Copy link

v03adk commented Jan 9, 2018

@typo3ua and how can I configure and setup database?

@typo3ua
Copy link

typo3ua commented Jan 10, 2018

:) It is need to ask at author estatezilla

@vvalchev
Copy link

If you download estatezilla from the web site, it's configured to use sqlite. Still you can't add property unless you do some small changes to the db:

  1. download sqlite binary
  2. run sqlite database.sqlite
  3. invoke the following SQL scripts:
    -- drop table properties
    --
CREATE TABLE `properties` (
  `id` integer NOT NULL PRIMARY KEY AUTOINCREMENT
,  `user_id` integer  DEFAULT NULL
,  `property_type_id` integer  DEFAULT NULL
,  `listing_type` text  NOT NULL DEFAULT 'sale'
,  `listing_status` text  DEFAULT NULL
,  `property_condition` text  NOT NULL DEFAULT 'not_specified'
,  `property_size` decimal(11,2) DEFAULT NULL
,  `num_bedrooms` integer DEFAULT NULL
,  `num_bathrooms` integer DEFAULT NULL
,  `num_floors` integer DEFAULT NULL
,  `num_receptions` integer DEFAULT NULL
,  `has_garden` integer DEFAULT NULL
,  `has_parking` integer DEFAULT NULL
,  `is_investment_property` integer DEFAULT NULL
,  `new_home` integer DEFAULT NULL
,  `photos` text COLLATE BINARY
,  `floor_plans` text COLLATE BINARY
,  `documents` text COLLATE BINARY
,  `virtual_tours` text COLLATE BINARY
,  `displayable_address` varchar(255)
,  `street_no` varchar(255) DEFAULT NULL
,  `street_name` varchar(255) DEFAULT NULL
,  `city` varchar(255) DEFAULT NULL
,  `region` varchar(255) DEFAULT NULL
,  `postcode` varchar(255) DEFAULT NULL
,  `country` char(2) DEFAULT NULL
,  `lat` decimal(18,12) DEFAULT NULL
,  `lng` decimal(18,12) DEFAULT NULL
,  `price` decimal(11,2) DEFAULT NULL
,  `reduced_price` decimal(11,2) DEFAULT NULL
,  `negotiable_price` integer DEFAULT NULL
,  `poa` integer DEFAULT NULL
,  `price_period` varchar(255) DEFAULT NULL
,  `price_type` varchar(255) DEFAULT NULL
,  `is_featured` integer NOT NULL DEFAULT '0'
,  `expires_at` datetime DEFAULT '0000-00-00 00:00:00'
,  `published_at` datetime DEFAULT '0000-00-00 00:00:00'
,  `origin` varchar(255) DEFAULT NULL
,  `visible` integer DEFAULT '0'
,  `terms_agree` integer NOT NULL DEFAULT '0'
,  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
,  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
,  `deleted_at` timestamp NULL DEFAULT NULL
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants