Skip to content

Instantly share code, notes, and snippets.

@fbiville
Created March 19, 2024 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fbiville/e02ea3c154fc8a5432647425623e0c49 to your computer and use it in GitHub Desktop.
Save fbiville/e02ea3c154fc8a5432647425623e0c49 to your computer and use it in GitHub Desktop.
Liquibase Workshop
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:neo4j="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
<changeSet id="remove-constraints-" author="liquibase-fan">
<neo4j:cypher>CALL apoc.schema.assert({Movie:['tagline'], Movie:['released'], Person:['name'], Movie:['imdbRating'], User:['name'], Movie:['title'], Movie:['year']}, {}, true)</neo4j:cypher>
</changeSet>
</databaseChangeLog>
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
name
USA
Germany
UK
France
Italy
Spain
China
Australia
South Africa
Canada
Switzerland
Belgium
Japan
Iran
Netherlands
Hong Kong
Ireland
Russia
West Germany
Mexico
Republic of Macedonia
Austria
Taiwan
New Zealand
Hungary
Poland
Peru
Cuba
Liechtenstein
Portugal
Denmark
Finland
Argentina
Federal Republic of Yugoslavia
Bulgaria
Czech Republic
India
Brazil
Sweden
Vietnam
Yugoslavia
Norway
Soviet Union
Iceland
Kazakhstan
Luxembourg
Botswana
Turkey
Czechoslovakia
Greece
Israel
Lebanon
Morocco
Romania
Bhutan
Ukraine
South Korea
Nepal
Haiti
Cameroon
Thailand
Colombia
Bosnia and Herzegovina
Slovenia
Algeria
Puerto Rico
Jamaica
Jordan
Latvia
Singapore
Afghanistan
Malta
Panama
Egypt
Ecuador
Chile
Philippines
Senegal
Monaco
Slovakia
Uruguay
Serbia
United Arab Emirates
Palestine
Isle Of Man
Paraguay
Bahamas
Croatia
Estonia
Angola
Indonesia
Malaysia
Kenya
Saudi Arabia
Ghana
Uganda
Tunisia
Laos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment